From a7a340b19010fe541303cd528193dce31e11bec0 Mon Sep 17 00:00:00 2001 From: Corey Carvalho <44616801+coreycarvalho@users.noreply.github.com> Date: Tue, 12 Nov 2024 12:55:24 -0500 Subject: [PATCH] #2096 - Remove approval to production step in CD pipeline (#2117) --- .github/workflows/cd-pipeline.yml | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/.github/workflows/cd-pipeline.yml b/.github/workflows/cd-pipeline.yml index 2a0cb14218..cd0898de4a 100644 --- a/.github/workflows/cd-pipeline.yml +++ b/.github/workflows/cd-pipeline.yml @@ -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: @@ -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: