Skip to content

Commit

Permalink
Correct Deploy action
Browse files Browse the repository at this point in the history
* Reference correct branch
* Move env section to correct nesting
  • Loading branch information
mtimoustafa committed Oct 31, 2024
1 parent c02b0fc commit a431856
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/fly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,16 @@ on:
push:
workflow_dispatch:
branches:
- master
- main

jobs:
deploy:
name: 'Deploy app'
runs-on: ubuntu-latest
concurrency: deploy-group
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
steps:
- uses: actions/checkout@v4
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only


env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}

0 comments on commit a431856

Please sign in to comment.