Some fly.toml changes after v2 migration #2
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: Fly.io Backend Production | |
on: | |
push: | |
branches: | |
- main | |
env: | |
FLY_API_TOKEN: ${{ secrets.PRODUCTION_FLY_DEPLOY_TOKEN }} | |
jobs: | |
deploy: | |
name: Deploy production backend | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: superfly/flyctl-actions/setup-flyctl@master | |
- name: Deploy backend | |
run: flyctl deploy --remote-only -a jellychat | |
working-directory: backend |