Skip to content

♻️ Ta bort unødvendig importalias for ApiEgenskap #365

♻️ Ta bort unødvendig importalias for ApiEgenskap

♻️ Ta bort unødvendig importalias for ApiEgenskap #365

Workflow file for this run

name: Spesialist
on:
push:
paths-ignore:
- 'Dockerfile-opprydding-dev'
- 'Dockerfile-sidegig'
- 'spesialist-opprydding-dev/**'
- 'spesialist-sidegig/**'
- '.github/workflows/spesialist-opprydding-dev.yml'
- '.github/workflows/spesialist-sidegig.yml'
- '.github/workflows/deploy_specific_commit_to_dev.yml'
- '.github/workflows/alerts.yml'
- '.github/workflows/codeql.yml'
- '.github/workflows/pr.yml'
- 'deploy/dev-opprydding.yml'
- 'deploy/prod-sidegig.yml'
- 'deploy/alerts/**'
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
permissions:
contents: read
id-token: write
jobs:
build:
uses: navikt/helse-spesialist/.github/workflows/build-image.yml@main
with:
gradle_command: build
dockerfile: Dockerfile
image_suffix: ''
secrets: inherit
deployDev:
name: Deploy to dev
needs: [build]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: nais/deploy/actions/deploy@v2
env:
CLUSTER: dev-gcp
RESOURCE: deploy/dev.yml,deploy/dev-db-policy.yml,deploy/unleash/dev.yml
IMAGE: ${{ needs.build.outputs.image }}
deployProd:
name: Deploy to prod
needs: [build]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: nais/deploy/actions/deploy@v2
env:
CLUSTER: prod-gcp
RESOURCE: deploy/prod.yml,deploy/prod-db-policy.yml,deploy/unleash/prod.yml
IMAGE: ${{ needs.build.outputs.image }}