Skip to content

Commit 33f4774

Browse files
CCM-11942 Fixing cross repo workflows
1 parent 2c410d6 commit 33f4774

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.github/workflows/pr_create_dynamic_env.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ jobs:
2929
--releaseVersion "${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" \
3030
--targetWorkflow "dispatch-deploy-dynamic-env.yaml" \
3131
--targetEnvironment "pr${{ github.event.number }}" \
32-
--targetComponent "branch" \
32+
--targetComponent "api" \
3333
--targetAccountGroup "nhs-notify-supplier-api-dev" \
34-
--terraformAction "apply" \
35-
--overrides "branch_name=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}"
34+
--terraformAction "apply"

.github/workflows/pr_destroy_dynamic_env.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,5 @@ jobs:
2626
--releaseVersion "main" \
2727
--targetWorkflow "dispatch-deploy-dynamic-env.yaml" \
2828
--targetEnvironment "pr${{ github.event.number }}" \
29-
--targetComponent "branch" \
30-
--targetAccountGroup "nhs-notify-supplier-api-dev" \
31-
--terraformAction "destroy"
29+
--targetComponent "api" \
30+
--targetAccountGroup "nhs-notify-supplier-api-dev"

0 commit comments

Comments
 (0)