From bccc1bbaf04199285f521eff496aa1171b9d5537 Mon Sep 17 00:00:00 2001 From: Corey Carvalho <44616801+coreycarvalho@users.noreply.github.com> Date: Thu, 6 Feb 2025 10:20:08 -0500 Subject: [PATCH] Update dependency ordering --- .github/workflows/cd-pipeline.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cd-pipeline.yml b/.github/workflows/cd-pipeline.yml index 3f76ab9d9a..4a5396c5fc 100644 --- a/.github/workflows/cd-pipeline.yml +++ b/.github/workflows/cd-pipeline.yml @@ -86,7 +86,7 @@ jobs: run: echo "Deployment paused for manual approval to staging and production." deploy-to-staging: - needs: [create-release-notes, create-and-post-tag] + needs: [approval-deploy, create-and-post-tag] uses: ./.github/workflows/deploy-release.yml secrets: inherit with: @@ -96,7 +96,7 @@ jobs: deploy-to-prod: if: vars.CODE_FREEZE == 'false' - needs: [create-release-notes, deploy-to-staging, create-and-post-tag] + needs: [deploy-to-staging, create-and-post-tag] uses: ./.github/workflows/deploy-release.yml secrets: inherit with: @@ -105,14 +105,14 @@ jobs: lambdaDeploy: true create-release-notes: - needs: [create-and-post-tag] + needs: [create-and-post-tag, deploy-to-prod] uses: ./.github/workflows/create-release-notes.yml secrets: inherit with: previousVersion: ${{ needs.create-and-post-tag.outputs.previousVersion }} send-slack-notifications: - needs: [deploy-to-prod, create-and-post-tag] + needs: [create-release-notes, create-and-post-tag] runs-on: ubuntu-latest steps: - name: Checkout code