Skip to content

Commit

Permalink
Deploy iac if we need to also deploy the app
Browse files Browse the repository at this point in the history
  • Loading branch information
MelissaAutumn committed May 23, 2024
1 parent 40575eb commit 76f2d08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
deploy-iac:
needs: detect-changes
if: needs.detect-changes.outputs.deploy-iac == 'true'
if: always() && (needs.detect-changes.outputs.deploy-app == 'true' || needs.detect-changes.outputs.deploy-iac == 'true')
environment: staging
runs-on: ubuntu-latest
outputs:
Expand Down

0 comments on commit 76f2d08

Please sign in to comment.