Skip to content

Commit

Permalink
[PRMP-1347] Always run terraform destroy an deploy ui depends on terr…
Browse files Browse the repository at this point in the history
…aform process (#220)
  • Loading branch information
oliverbeumkes-nhs authored Dec 9, 2024
1 parent aeff5eb commit 789d508
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ jobs:
deploy_ui:
name: Deploy UI
uses: nhsconnect/national-document-repository/.github/workflows/base-deploy-ui.yml@main
needs: ['set_workspace']
needs: ['terraform_process', 'set_workspace']
with:
build_branch: main
sandbox: ${{ needs.set_workspace.outputs.workspace }}
Expand All @@ -180,6 +180,7 @@ jobs:
AWS_ASSUME_ROLE: ${{ secrets.AWS_ASSUME_ROLE }}

destroy_test_environment:
if: always()
name: Destroy the Sandbox Environment from previous job
needs: [ 'set_workspace', 'deploy_ui', 'deploy_all_lambdas' ]
uses: ./.github/workflows/terraform-destroy-environment-manual.yml
Expand Down

0 comments on commit 789d508

Please sign in to comment.