Skip to content

Deploy stable

Deploy stable #625

Workflow file for this run

name: 'Deploy stable'
on:
workflow_dispatch:
workflow_run:
workflows: ["Build Kotlin, Run Lint and Test"]
branches: [master]
types:
- completed
repository_dispatch:
types: [deploy_prod_tag]
jobs:
deploy-stable:
strategy:
fail-fast: false
matrix:
include:
- environment: prod
cluster: prod-gcp
resource: prod-gcp
- environment: dev
cluster: dev-gcp
resource: preprod
name: 'Deploy ${{ matrix.resource }} to ${{ matrix.cluster }}'
if: ${{ github.event_name == 'repository_dispatch' || github.event.workflow_run.conclusion == 'success' }}
permissions:
id-token: write
contents: write
uses: navikt/sosialhjelp-ci/.github/workflows/deploy_app.yml@v6
with:
cluster-name: ${{ matrix.cluster }}
resource-folder: ${{ matrix.environment }}
resource-name: ${{ matrix.resource }}
secrets: inherit