Skip to content

Commit aec4ac2

Browse files
committed
Fix
1 parent 244bc30 commit aec4ac2

1 file changed

Lines changed: 16 additions & 3 deletions

File tree

.github/workflows/stage-3-build.yaml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,11 +162,11 @@ jobs:
162162
--terraformAction "apply" \
163163
--overrideProjectName "nhs" \
164164
--overrideRoleName "nhs-main-acct-supplier-api-github-deploy"
165-
artefact-proxies:
166-
name: "Build proxies"
165+
artefact-proxy:
166+
name: "Build proxy"
167167
runs-on: ubuntu-latest
168168
if: inputs.deploy_proxy == 'true'
169-
needs: [artefact-oas-spec-sandbox, pr-create-dynamic-environment]
169+
needs: [artefact-oas-spec, pr-create-dynamic-environment]
170170
timeout-minutes: 10
171171
env:
172172
PROXYGEN_API_NAME: nhs-notify-supplier
@@ -184,6 +184,19 @@ jobs:
184184
runId: "${{ github.run_id }}"
185185
buildSandbox: false
186186
releaseVersion: ${{ github.head_ref || github.ref_name }}
187+
artefact-sandbox-proxy:
188+
name: "Build proxy for sandbox"
189+
runs-on: ubuntu-latest
190+
if: inputs.deploy_proxy == 'true'
191+
needs: [artefact-oas-spec-sandbox, pr-create-dynamic-environment]
192+
timeout-minutes: 10
193+
env:
194+
PROXYGEN_API_NAME: nhs-notify-supplier
195+
APP_CLIENT_ID: ${{ secrets.APP_CLIENT_ID }}
196+
APP_PEM_FILE: ${{ secrets.APP_PEM_FILE }}
197+
steps:
198+
- name: "Checkout code"
199+
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
187200
- name: "Build proxy for sandbox"
188201
uses: ./.github/actions/build-proxies
189202
with:

0 commit comments

Comments
 (0)