Skip to content

Commit a9f8286

Browse files
committed
Don't skip dev and qa deployments for workflow_dispatch events
1 parent 29601dc commit a9f8286

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
deploy-dev:
1717
runs-on: ubuntu-latest
18-
if: ${{ github.event.workflow_run.conclusion == 'success' }}
18+
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }}
1919
environment:
2020
name: dev
2121
steps:
@@ -38,7 +38,7 @@ jobs:
3838
3939
deploy-qa:
4040
runs-on: ubuntu-latest
41-
if: ${{ github.event.workflow_run.conclusion == 'success' }}
41+
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }}
4242
environment:
4343
name: qa
4444
steps:

0 commit comments

Comments
 (0)