Skip to content

Commit

Permalink
Correct Deploy action (#18)
Browse files Browse the repository at this point in the history
* Correct Deploy action

* Reference correct branch
* Move env section to correct nesting

* Correct steps indentation
  • Loading branch information
mtimoustafa authored Oct 31, 2024
1 parent c02b0fc commit 8049472
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/fly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,17 @@ 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

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 8049472

Please sign in to comment.