name: Fly Deploy Production on: push: branches: - PRODUCTION workflow_dispatch: jobs: deploy: name: Deploy production app runs-on: ubuntu-latest concurrency: deploy-group # optional: ensure only one action runs at a time steps: - uses: actions/checkout@v4 - uses: superfly/flyctl-actions/setup-flyctl@master - run: cd backend && flyctl deploy --remote-only --config fly.production.toml env: FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}