Skip to content

Fix formatting in dolly-auth-local deployment configuration #deploy-d… #9

Fix formatting in dolly-auth-local deployment configuration #deploy-d…

Fix formatting in dolly-auth-local deployment configuration #deploy-d… #9

name: dolly-auth-local
on:
push:
paths:
- .nais/dolly-auth-local.yml
- .github/workflows/app.dolly-auth-local.yml
workflow_dispatch: {}
jobs:
start:
name: Evaluate deploy
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: "Logging"
run: |
echo "ref: ${{ github.ref }}"
echo "event: ${{ github.event_name }}"
echo "commit: ${{ github.event.head_commit.message }}"
outputs:
do-deploy: ${{ github.event_name == 'workflow_dispatch' || (!contains(github.event.head_commit.message, '#nodeploy') && (github.ref == 'refs/heads/master' || contains(github.event.head_commit.message, '#deploy-dolly-auth-local'))) }}
deploy:
name: Deploy dolly-auth-local
needs: start
if: needs.start.outputs.do-deploy == 'true'
concurrency: dolly-auth-local
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: nais/deploy/actions/deploy@fa754451577294aae42872a69b888b3470478ec1 # v2
env:
CLUSTER: dev-gcp
RESOURCE: ".nais/dolly-auth-local.yml"