Skip to content

Commit

Permalink
Don't skip dev and qa deployments for workflow_dispatch events
Browse files Browse the repository at this point in the history
  • Loading branch information
amisstea committed Feb 24, 2022
1 parent 29601dc commit a9f8286
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

deploy-dev:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }}
environment:
name: dev
steps:
Expand All @@ -38,7 +38,7 @@ jobs:
deploy-qa:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }}
environment:
name: qa
steps:
Expand Down

0 comments on commit a9f8286

Please sign in to comment.