From 04214b4f3c52cb7c8fe2aedcd8c066858f8888f7 Mon Sep 17 00:00:00 2001 From: Jo Date: Wed, 12 Jun 2024 14:15:24 -0400 Subject: [PATCH] fixed job triggers (#479) --- .github/workflows/deploy-staging.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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