diff --git a/.github/workflows/deploy-staging.yml b/.github/workflows/deploy-staging.yml index f21f76263..bd5af390f 100644 --- a/.github/workflows/deploy-staging.yml +++ b/.github/workflows/deploy-staging.yml @@ -123,7 +123,7 @@ jobs: - deploy-stage-iac if: | always() && - (needs.deploy-iac.result == 'success' || needs.deploy-iac.result == 'skipped') && + (needs.deploy-stage-iac.result == 'success' || needs.deploy-stage-iac.result == 'skipped') && needs.detect-changes.outputs.deploy-frontend == 'true' environment: staging runs-on: ubuntu-latest @@ -234,7 +234,7 @@ jobs: - deploy-stage-iac if: | always() && - (needs.deploy-iac.result == 'success' || needs.deploy-iac.result == 'skipped') && + (needs.deploy-stage-iac.result == 'success' || needs.deploy-stage-iac.result == 'skipped') && needs.detect-changes.outputs.deploy-backend == 'true' environment: staging runs-on: ubuntu-latest