File tree Expand file tree Collapse file tree 2 files changed +26
-7
lines changed
Expand file tree Collapse file tree 2 files changed +26
-7
lines changed Original file line number Diff line number Diff line change 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
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 }}
Original file line number Diff line number Diff 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"
You can’t perform that action at this time.
0 commit comments