diff --git a/.github/workflows/fly.yml b/.github/workflows/fly.yml index 035c755..4687338 100644 --- a/.github/workflows/fly.yml +++ b/.github/workflows/fly.yml @@ -1,41 +1,17 @@ -name: Fly Deploy - -on: - - push: - - branches: - - main - - -jobs: - - deploy: - - name: Deploy app - - runs-on: ubuntu-latest - - concurrency: deploy-group # optional: ensure only one action runs at a time - - steps: - - - - uses: actions/checkout@v3 - - - - - uses: superfly/flyctl-actions/setup-flyctl@master - - - - - run: flyctl deploy --remote-only - - - env: - +name: Fly Deploy +on: + push: + branches: + - main + +jobs: + deploy: + name: Deploy app + runs-on: ubuntu-latest + concurrency: deploy-group # optional: ensure only one action runs at a time + steps: + - uses: actions/checkout@v3 + - uses: superfly/flyctl-actions/setup-flyctl@master + - run: flyctl deploy --remote-only + env: FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}