-
Notifications
You must be signed in to change notification settings - Fork 3
38 lines (32 loc) · 1.07 KB
/
release_created.yaml
File metadata and controls
38 lines (32 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Github Release Created
on:
release:
types: ["published"] # Inherits all input defaults
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false
jobs:
deploy-main:
name: Deploy changes to int in Dev AWS Account
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
strategy:
max-parallel: 1
matrix:
component: [reporting]
steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Updating Main Environment
env:
PR_TRIGGER_PAT: ${{ secrets.PR_TRIGGER_PAT }}
run: |
bash .github/scripts/dispatch_internal_repo_workflow.sh \
--releaseVersion "${{ github.event.release.tag_name }}" \
--targetWorkflow "dispatch-deploy-static-notify-reporting-env.yaml" \
--targetEnvironment "int" \
--targetAccountGroup "nhs-notify-reporting-dev" \
--targetComponent "${{ matrix.component }}" \
--terraformAction "apply"