-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (47 loc) · 1.08 KB
/
cd-infra.yml
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: "CD: Infra"
on:
workflow_dispatch:
push:
branches:
- main
paths:
- infra/**
- .github/workflows/infra-*
permissions:
id-token: write
contents: read
pull-requests: write
jobs:
cert:
name: Cert
secrets: inherit
uses: ./.github/workflows/_deploy-app-terraform.yml
strategy:
matrix:
environment: [at21, at22]
with:
environment: ${{ matrix.environment }}
tf_state: cert.tfstate
working_dir: infra/deploy/cert
auth:
name: Auth
secrets: inherit
uses: ./.github/workflows/_deploy-app-terraform.yml
strategy:
matrix:
environment: [at21, at22]
with:
environment: ${{ matrix.environment }}
tf_state: auth.tfstate
working_dir: infra/deploy/auth
register:
name: Altinn Register
secrets: inherit
uses: ./.github/workflows/_deploy-app-terraform.yml
strategy:
matrix:
environment: [at21, at22]
with:
environment: ${{ matrix.environment }}
tf_state: Altinn.Register.tfstate
working_dir: infra/deploy/altinn-register