Skip to content

Commit 5ddf6db

Browse files
CCM-10927 Fix dynamic env component
1 parent dfaecc4 commit 5ddf6db

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/pr_create_dynamic_env.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@ jobs:
2323
DISPATCH_EVENT=$(jq -ncM \
2424
--arg infraRepoName "${this_repo_name}" \
2525
--arg releaseVersion "${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" \
26+
--arg targetProject "nhs" \
2627
--arg targetEnvironment "pr${{ github.event.number }}" \
2728
--arg targetAccountGroup "nhs-notify-supplier-api-dev" \
28-
--arg targetComponent "branch" \
29+
--arg targetComponent "api" \
2930
--arg terraformAction "apply" \
3031
--arg overrides "branch_name=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" \
3132
'{ "ref": "main",

.github/workflows/pr_destroy_dynamic_env.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@ jobs:
2323
DISPATCH_EVENT=$(jq -ncM \
2424
--arg infraRepoName "${this_repo_name}" \
2525
--arg releaseVersion "main" \
26+
--arg targetProject "nhs" \
2627
--arg targetEnvironment "pr${{ github.event.number }}" \
2728
--arg targetAccountGroup "nhs-notify-supplier-api-dev" \
28-
--arg targetComponent "branch" \
29+
--arg targetComponent "api" \
2930
--arg terraformAction "destroy" \
3031
'{ "ref": "main",
3132
"inputs": {

0 commit comments

Comments
 (0)