From 975bc452fc4b76f7f4ca3c832a87af0df27769eb Mon Sep 17 00:00:00 2001 From: Jo Date: Fri, 24 May 2024 13:19:13 -0400 Subject: [PATCH 1/3] remove debug output & attach deploy-staging trigger --- .github/workflows/deploy-staging.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-staging.yml b/.github/workflows/deploy-staging.yml index 36f0fbcdc..dfed7fd4d 100644 --- a/.github/workflows/deploy-staging.yml +++ b/.github/workflows/deploy-staging.yml @@ -8,6 +8,7 @@ on: push: branches: - main + - debug-release-creation permissions: id-token: write # This is required for requesting the JWT @@ -301,7 +302,6 @@ jobs: with: name: ecr_tag - - run: ls - name: create release tag id: create-release-tag From cade54f889bced2ecdda79d1ae2c17eddc606ac8 Mon Sep 17 00:00:00 2001 From: Jo Date: Fri, 24 May 2024 13:57:54 -0400 Subject: [PATCH 2/3] change create-release if clause --- .github/workflows/deploy-staging.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-staging.yml b/.github/workflows/deploy-staging.yml index dfed7fd4d..af378d45c 100644 --- a/.github/workflows/deploy-staging.yml +++ b/.github/workflows/deploy-staging.yml @@ -285,8 +285,9 @@ jobs: - deploy-frontend if: | - needs.detect-changes.outputs.deploy-backend == 'true' && - needs.detect-changes.outputs.deploy-frontend == 'true' + always() && + needs.deploy-backend.result == 'success' && + needs.deploy-frontend.result == 'success' environment: staging runs-on: ubuntu-latest From 14d52d98f88c9db9c134b14dcb09ea06e242b344 Mon Sep 17 00:00:00 2001 From: Jo Date: Fri, 24 May 2024 14:32:41 -0400 Subject: [PATCH 3/3] remove branch deploy-staging trigger --- .github/workflows/deploy-staging.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/deploy-staging.yml b/.github/workflows/deploy-staging.yml index af378d45c..aea49124e 100644 --- a/.github/workflows/deploy-staging.yml +++ b/.github/workflows/deploy-staging.yml @@ -8,7 +8,6 @@ on: push: branches: - main - - debug-release-creation permissions: id-token: write # This is required for requesting the JWT