Skip to content

Manual deploy to dev #4

Manual deploy to dev

Manual deploy to dev #4

name: Manual deploy to dev
on:
workflow_dispatch:
inputs:
skip-tests:
description: 'Skip tests?'
default: false
type: boolean
skip-validation:
description: 'Skip validation? (eslint, prettier, typecheck)'
default: false
type: boolean
jobs:
build:
name: Build
permissions:
contents: read
id-token: write
uses: navikt/familie-baks-gha-workflows/.github/workflows/build-yarn-app.yaml@main
with:
build-image: true
push-image: true
skip-tests: ${{ inputs.skip-tests }}
skip-validation: ${{ inputs.skip-validation }}
base-path: /barnetrygd/soknad/
secrets: inherit
deploy-with-new-image:
name: Deploy with new image
permissions:
id-token: write
needs: [ build ]
uses: navikt/familie-baks-gha-workflows/.github/workflows/deploy.yaml@main
with:
image: ${{ needs.build.outputs.image }}
cluster: dev-gcp
resource: .nais/app-dev.yaml
secrets: inherit