Skip to content

.github/workflows/infra-cd.yml #16

.github/workflows/infra-cd.yml

.github/workflows/infra-cd.yml #16

Workflow file for this run

name: Infra CD
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]
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]
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]
with:
environment: ${{ matrix.environment }}
tf_state: Altinn.Register.tfstate
working_dir: infra/deploy/altinn-register