From 40575eb0244da1304e8607eb1dc6322ac3ced310 Mon Sep 17 00:00:00 2001 From: Melissa Autumn Date: Thu, 23 May 2024 08:19:38 -0700 Subject: [PATCH] Never skip a job unless deploy-app is false --- .github/workflows/deploy-staging.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy-staging.yml b/.github/workflows/deploy-staging.yml index 46982c571..53ad36c3e 100644 --- a/.github/workflows/deploy-staging.yml +++ b/.github/workflows/deploy-staging.yml @@ -143,7 +143,7 @@ jobs: needs: - detect-changes - deploy-iac - if: needs.detect-changes.outputs.deploy-app == 'true' + if: always() && needs.detect-changes.outputs.deploy-app == 'true' environment: staging runs-on: ubuntu-latest steps: @@ -193,7 +193,7 @@ jobs: needs: - detect-changes - deploy-iac - if: needs.detect-changes.outputs.deploy-app == 'true' + if: always() && needs.detect-changes.outputs.deploy-app == 'true' environment: staging runs-on: ubuntu-latest env: @@ -271,7 +271,7 @@ jobs: - detect-changes - deploy-backend - deploy-frontend - if: needs.detect-changes.outputs.deploy-app == 'true' + if: always() && needs.detect-changes.outputs.deploy-app == 'true' environment: staging runs-on: ubuntu-latest steps: