Merge pull request #178 from navikt/feature/eures #881
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: deploy-dev | |
on: | |
push: | |
paths-ignore: | |
- "**.md" | |
- ".gitignore" | |
- ".env.local" | |
- "docker-compose/*" | |
- "LICENCE" | |
- "CODEOWNERS" | |
branches: | |
- "**" | |
permissions: | |
actions: read | |
contents: write | |
id-token: write | |
packages: write | |
security-events: write | |
jobs: | |
build-and-deploy-borger: | |
if: "(github.ref_name == 'master') || contains(github.event.head_commit.message, 'deploy:dev') || contains(github.ref, 'feature/')" | |
uses: navikt/pam-deploy/.github/workflows/deploy-next-js-dev.yml@v7 | |
with: | |
SKIP_DRAFT_RELEASE: ${{ github.ref_name != 'master' }} | |
NAIS_VARS: .nais/borger/dev.yml | |
NAIS_RESOURCE: .nais/borger/nais.yml | |
NPM_BUILD_COMMAND: npm run build:borger | |
IMAGE_SUFFIX: cv | |
secrets: inherit | |
build-and-deploy-veileder: | |
if: "(github.ref_name == 'master') || contains(github.event.head_commit.message, 'deploy:dev') || contains(github.ref, 'feature/')" | |
uses: navikt/pam-deploy/.github/workflows/deploy-next-js-dev.yml@v7 | |
with: | |
NAIS_VARS: .nais/veileder/dev.yml | |
NAIS_RESOURCE: .nais/veileder/nais.yml | |
NPM_BUILD_COMMAND: npm run build:veileder | |
IMAGE_SUFFIX: cv-veileder | |
SKIP_DRAFT_RELEASE: true # Trenger ikke draft for begge appene da de prodsettes samtidig | |
CODEQL_ENABLED: false # Trenger ikke CodeQL for begge appene | |
secrets: inherit |