feat: Testing out rolling update strategy #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and deploy SvelteKit web app to VPS | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- apps/sveltastic/** | |
jobs: | |
deploy_web: | |
uses: ./.github/workflows/deploy.yml | |
with: | |
service: web | |
dockerfile_dir: apps/sveltastic | |
secrets: | |
GH_CR_USERNAME: ${{ secrets.GH_CR_USERNAME }} | |
GH_CR_PASSWORD: ${{ secrets.GITHUB_TOKEN }} | |
VPS_HOST: ${{ secrets.VPS_HOST }} | |
VPS_USERNAME: ${{ secrets.VPS_USERNAME }} | |
VPS_KEY: ${{ secrets.VPS_KEY }} | |
VPS_PORT: ${{ secrets.VPS_PORT }} | |
VPS_FOLDER: ${{ secrets.VPS_FOLDER }} |