We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents aa0a856 + f02c5c4 commit c9caac3Copy full SHA for c9caac3
.github/workflows/fly-deploy.yml
@@ -8,11 +8,13 @@ on:
8
- completed
9
branches:
10
- main
11
+ workflow_dispatch: # Allows manual triggering from GitHub UI
12
jobs:
13
deploy:
14
name: Deploy app
15
runs-on: ubuntu-latest
- if: ${{ github.event.workflow_run.conclusion == 'success' }}
16
+ # Only run if manually triggered OR if the Ruby workflow succeeded
17
+ if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }}
18
concurrency: deploy-group # optional: ensure only one action runs at a time
19
steps:
20
- uses: actions/checkout@v4
0 commit comments