Legg til småendringer i revurderingsvedtaket #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build, push and deploy to prod | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- '**.md' | |
jobs: | |
build: | |
name: Test and build | |
uses: ./.github/workflows/.build-image.yml | |
permissions: | |
contents: read | |
id-token: write | |
secrets: | |
NAIS_WORKLOAD_IDENTITY_PROVIDER: ${{ secrets.NAIS_WORKLOAD_IDENTITY_PROVIDER }} | |
deploy-dev: | |
name: Deploy to NAIS (dev) | |
needs: build | |
uses: ./.github/workflows/.deploy-to-nais.yml | |
permissions: | |
contents: read | |
id-token: write | |
with: | |
NAIS_ENV: dev | |
IMAGE: ${{ needs.build.outputs.IMAGE }} | |
deploy-prod: | |
name: Deploy to NAIS (prod) | |
needs: build | |
uses: ./.github/workflows/.deploy-to-nais.yml | |
permissions: | |
contents: read | |
id-token: write | |
with: | |
NAIS_ENV: prod | |
IMAGE: ${{ needs.build.outputs.IMAGE }} |