Deploy Fly #58
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: Deploy Fly | |
on: | |
workflow_dispatch: | |
jobs: | |
web: | |
name: Deploy Web | |
runs-on: ubuntu-latest | |
concurrency: deploy-fly-web-group | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: superfly/flyctl-actions/setup-flyctl@master | |
- run: | | |
flyctl deploy --config ./apps/frontend/web/fly.toml \ | |
--app animegarden-web-test --remote-only | |
env: | |
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} | |
server: | |
name: Deploy Server | |
runs-on: ubuntu-latest | |
concurrency: deploy-fly-server-group | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: superfly/flyctl-actions/setup-flyctl@master | |
- run: | | |
flyctl deploy --config ./apps/backend/manager/fly.toml \ | |
--app animegarden-server-test --remote-only | |
env: | |
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} |