Fikse alerts #56
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 api-alerts to dev-gcp | |
on: | |
push: | |
branches: | |
- '**' | |
- '!release' | |
paths: | |
- '.nais/alert/alerts-dev.yml' | |
- '**/api-alerts-dev-deploy.yml' | |
jobs: | |
apply-alerts: | |
name: Apply alerts to cluster | |
runs-on: ubuntu-latest | |
permissions: | |
contents: "read" | |
id-token: "write" | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: deploy alerts to dev | |
uses: nais/deploy/actions/deploy@v2 | |
env: | |
CLUSTER: dev-gcp | |
RESOURCE: .nais/alert/alerts-dev.yml |