Skip to content

Oppdaterer utdatert dev-ingress #107

Oppdaterer utdatert dev-ingress

Oppdaterer utdatert dev-ingress #107

name: etterlatte-proxy
on:
workflow_dispatch: # Allow manually triggered workflow run
inputs:
deploy-prod:
description: 'Deploy til produksjon'
required: false
default: 'false'
push:
branches:
- main
paths:
- apps/etterlatte-proxy/**
pull_request:
branches:
- main
paths:
- apps/etterlatte-proxy/**
jobs:
test:
if: github.event_name == 'pull_request'
uses: ./.github/workflows/.test.yaml
secrets: inherit
build:
if: github.event_name != 'pull_request'
uses: ./.github/workflows/.build.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: 'fss'
secrets: inherit