Skip to content

Commit

Permalink
Update dependency ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
coreycarvalho committed Feb 6, 2025
1 parent 0821209 commit bccc1bb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cd-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit bccc1bb

Please sign in to comment.