Skip to content

Commit 63a923e

Browse files
committed
CCM-11908: Test
1 parent efa020b commit 63a923e

File tree

1 file changed

+13
-16
lines changed

1 file changed

+13
-16
lines changed

.github/workflows/pr_create_dynamic_env.yaml

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,16 @@ concurrency:
1212
jobs:
1313
create-dynamic-environment:
1414
name: Create Dynamic Environment
15-
runs-on: ubuntu-latest
16-
17-
steps:
18-
- name: Trigger nhs-notify-internal dynamic environment workflow
19-
needs: generate-sandbox-name
20-
uses: ./.github/workflows/dispatch_internal_repo_workflow.yaml
21-
with:
22-
jobName: Sandbox set up
23-
infraRepoName: nhs-notify-web-template-management
24-
releaseVersion: ${{ github.head_ref || github.ref_name }}
25-
targetWorkflow: dispatch-deploy-dynamic-env.yaml
26-
targetEnvironment: pr${{ github.event.number }}
27-
targetAccountGroup: nhs-notify-template-management-dev
28-
targetComponent: branch
29-
terraformAction: apply
30-
overrides: branch_name=${{ github.head_ref || github.ref_name }}
15+
needs: generate-sandbox-name
16+
uses: ./.github/workflows/dispatch_internal_repo_workflow.yaml
17+
secrets: inherit
18+
with:
19+
jobName: Sandbox set up
20+
infraRepoName: nhs-notify-web-template-management
21+
releaseVersion: ${{ github.head_ref || github.ref_name }}
22+
targetWorkflow: dispatch-deploy-dynamic-env.yaml
23+
targetEnvironment: pr${{ github.event.number }}
24+
targetAccountGroup: nhs-notify-template-management-dev
25+
targetComponent: branch
26+
terraformAction: apply
27+
overrides: branch_name=${{ github.head_ref || github.ref_name }}

0 commit comments

Comments
 (0)