Skip to content

use production env

use production env #8

Workflow file for this run

name: Fly Deploy
on:
push:
branches:
- master
jobs:
deploy:
name: Deploy app
runs-on: ubuntu-latest
permissions:
deployments: write
environment: Production
concurrency: deploy-group # optional: ensure only one action runs at a time
if: ${{ github.event.push }}
steps:
- uses: actions/checkout@v3
- uses: superfly/flyctl-actions/setup-flyctl@master
- id: deployment
- run: flyctl deploy --remote-only
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}