Skip to content

Commit

Permalink
Add concurrency to GH deploy action
Browse files Browse the repository at this point in the history
  • Loading branch information
brophdawg11 committed Jun 21, 2023
1 parent dad9d08 commit 603172e
Showing 1 changed file with 17 additions and 12 deletions.
29 changes: 17 additions & 12 deletions .github/workflows/fly-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@
name: Fly Deploy
on:
push:
branches:
- 'main'
push:
branches:
- 'main'
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: superfly/flyctl-actions@1.3
with:
args: 'deploy'
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: superfly/flyctl-actions@1.3
with:
args: 'deploy'

0 comments on commit 603172e

Please sign in to comment.