IS-1921: Deploy v2 (#150) #3
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 alerts to NAIS | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- '.github/workflows/alerts.yaml' | |
- '.nais/alerts.yaml' | |
jobs: | |
apply-alerts: | |
name: Apply alerts to cluster | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: deploy to prod | |
uses: nais/deploy/actions/deploy@v2 | |
env: | |
CLUSTER: prod-gcp | |
RESOURCE: .nais/alerts.yaml |