Skip to content

Commit

Permalink
#2096 - Remove approval to production step in CD pipeline (#2117)
Browse files Browse the repository at this point in the history
  • Loading branch information
coreycarvalho authored Nov 12, 2024
1 parent 31c7baa commit a7a340b
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions .github/workflows/cd-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,17 +76,17 @@ jobs:
ref: ${{ needs.create-and-post-tag.outputs.newVersion }}
lambdaDeploy: true

approval-deploy-staging:
approval-deploy:
needs: deploy-to-perf
environment:
name: staging-deploy
runs-on: ubuntu-latest
steps:
- name: Pause for manual approval
run: echo "Deployment paused for manual approval."
run: echo "Deployment paused for manual approval to staging and production."

create-release-notes:
needs: [create-and-post-tag, approval-deploy-staging]
needs: [create-and-post-tag, approval-deploy]
uses: ./.github/workflows/create-release-notes.yml
secrets: inherit
with:
Expand All @@ -101,17 +101,8 @@ jobs:
ref: ${{ needs.create-and-post-tag.outputs.newVersion }}
lambdaDeploy: true

approval-deploy-prod:
needs: deploy-to-staging
environment:
name: prod-deploy
runs-on: ubuntu-latest
steps:
- name: Pause for manual approval
run: echo "Pipeline paused for pending approval of staging by QA"

publish-release-notes:
needs: [create-release-notes, approval-deploy-prod]
needs: [create-release-notes, deploy-to-staging]
uses: ./.github/workflows/publish-release-notes.yml
secrets: inherit
with:
Expand Down

0 comments on commit a7a340b

Please sign in to comment.