Skip to content

Commit

Permalink
Do not deploy to staging when merge to master
Browse files Browse the repository at this point in the history
  • Loading branch information
sapience committed Mar 13, 2024
1 parent 341ddd6 commit 1c188da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/review_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
uses: ./.github/workflows/deploy.yml
needs:
- target_name
if: ${{needs.target_name.outputs.name == 'master' || needs.target_name.outputs.name == 'deploy_to_staging'}}
if: ${{needs.target_name.outputs.name == 'deploy_to_staging'}}
with:
AWS_REGION: eu-west-1
ENVIRONMENT: "staging"
Expand Down

0 comments on commit 1c188da

Please sign in to comment.