Skip to content

Commit 5596ae0

Browse files
committed
WIP
1 parent 20fe5ec commit 5596ae0

File tree

2 files changed

+26
-7
lines changed

2 files changed

+26
-7
lines changed

.github/workflows/release_created.yaml

Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,6 @@ jobs:
1717
id-token: write
1818
contents: read
1919

20-
strategy:
21-
max-parallel: 1
22-
matrix:
23-
component: [api]
24-
2520
steps:
2621
- name: Checkout repository
2722
uses: actions/checkout@v5
@@ -36,5 +31,29 @@ jobs:
3631
--targetWorkflow "dispatch-deploy-static-notify-supplier-api-env.yaml" \
3732
--targetEnvironment "main" \
3833
--targetAccountGroup "nhs-notify-supplier-api-nonprod" \
39-
--targetComponent "${{ matrix.component }}" \
34+
--targetComponent "api" \
4035
--terraformAction "apply"
36+
deploy-proxy:
37+
name: "Deploy proxy"
38+
runs-on: ubuntu-latest
39+
timeout-minutes: 10
40+
41+
permissions:
42+
id-token: write
43+
contents: read
44+
actions: read
45+
46+
env:
47+
PROXYGEN_API_NAME: nhs-notify-supplier
48+
APP_CLIENT_ID: ${{ secrets.APP_CLIENT_ID }}
49+
APP_PEM_FILE: ${{ secrets.APP_PEM_FILE }}
50+
steps:
51+
- name: "Checkout code"
52+
uses: actions/checkout@v5
53+
- name: "Build proxies"
54+
uses: ./.github/actions/build-proxies
55+
with:
56+
environment: 'main'
57+
apimEnv: "int"
58+
runId: "${{ github.run_id }}"
59+
releaseVersion: ${{ github.event.release.tag_name }}

.github/workflows/stage-5-publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ jobs:
151151
env:
152152
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
153153
with:
154-
upload_url: "${{ steps.create_release.outputs.upload_url }}"
154+
upload_url: "${{ steps.publi.outputs.upload_url }}"
155155
asset_path: ./artifacts/sdk-html-${{ inputs.version }}.zip
156156
asset_name: sdk-html-${{ inputs.version }}.zip
157157
asset_content_type: "application/gzip"

0 commit comments

Comments
 (0)