File tree Expand file tree Collapse file tree 1 file changed +23
-1
lines changed
Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ concurrency:
99 cancel-in-progress : false
1010
1111jobs :
12- create -dynamic-environment :
12+ destroy -dynamic-environment :
1313 name : Destroy Dynamic Environment
1414 runs-on : ubuntu-latest
1515
3232 --terraformAction "destroy" \
3333 --overrideProjectName "nhs" \
3434 --overrideRoleName "nhs-main-acct-supplier-api-github-deploy"
35+
36+ destroy-dynamic-proxy :
37+ name : Destroy Dynamic Proxy
38+ runs-on : ubuntu-latest
39+
40+ steps :
41+ - uses : actions/checkout@v5
42+
43+ - name : Trigger dynamic proxy destruction
44+ env :
45+ APP_CLIENT_ID : ${{ secrets.APP_CLIENT_ID }}
46+ APP_PEM_FILE : ${{ secrets.APP_PEM_FILE }}
47+ shell : bash
48+ run : |
49+ .github/scripts/dispatch_internal_repo_workflow.sh \
50+ --infraRepoName "nhs-notify-supplier-api" \
51+ --releaseVersion "main" \
52+ --targetComponent "api" \
53+ --targetWorkflow "proxy-destroy.yaml" \
54+ --targetEnvironment "pr${{ github.event.number }}" \
55+ --apimEnvironment "internal-dev-sandbox" \
56+ --boundedContext "notify-supplier"
You can’t perform that action at this time.
0 commit comments