Skip to content

Merge pull request #184 from navikt/chore/oppdatere_lockfile #137

Merge pull request #184 from navikt/chore/oppdatere_lockfile

Merge pull request #184 from navikt/chore/oppdatere_lockfile #137

Workflow file for this run

name: Deploy application
on:
push:
branches:
- main
paths-ignore:
- "**.md"
- "LICENCE"
- "CODEOWNERS"
- ".gitignore"
- ".github/workflows/build-pr.yaml"
- ".github/workflows/manual-deploy-dev.yaml"
- ".github/workflows/playwright.yaml"
- ".github/workflows/security.yaml"
- ".github/dependabot.yaml"
env:
TZ: Europe/Oslo
permissions:
contents: "write"
id-token: "write"
jobs:
build:
name: Build/test & push image
uses: navikt/mob-gha-workflows/.github/workflows/node-build-push-image.yaml@main
secrets: inherit
deploy-dev:
needs: build
name: Deploy to dev-gcp
uses: navikt/mob-gha-workflows/.github/workflows/nais-app-deploy.yaml@main
with:
cluster: dev-gcp
resource: .nais/naiserator-dev.yaml
image: ${{ needs.build.outputs.image }}
# deploy-prod:
# needs: [build, deploy-dev]
# name: Deploy to prod-gcp
# uses: navikt/mob-gha-workflows/.github/workflows/nais-app-deploy.yaml@main
# with:
# cluster: prod-gcp
# resource: .nais/naiserator-prod.yaml
# image: ${{ needs.build.outputs.image }}