Skip to content

Merge pull request #356 from navikt/dependabot/docker/apps/ey-pdfgen/… #149

Merge pull request #356 from navikt/dependabot/docker/apps/ey-pdfgen/…

Merge pull request #356 from navikt/dependabot/docker/apps/ey-pdfgen/… #149

name: ey-pdfgen
on:
workflow_dispatch: # Allow manually triggered workflow run
inputs:
deploy-prod:
description: 'Deploy til produksjon'
required: false
default: 'false'
push:
branches:
- main
paths:
- apps/ey-pdfgen/**
jobs:
build:
if: github.event_name != 'pull_request'
uses: ./.github/workflows/.build-frontend.yaml
secrets: inherit
permissions:
contents: 'read'
id-token: 'write'
deploy:
if: github.event_name != 'pull_request'
needs: build
uses: ./.github/workflows/.deploy.yaml
with:
image: ${{ needs.build.outputs.image }}
cluster: 'gcp'
secrets: inherit
permissions:
contents: 'read'
id-token: 'write'