Skip to content

Bytt alerting til PrometheusRule i prod #5

Bytt alerting til PrometheusRule i prod

Bytt alerting til PrometheusRule i prod #5

name: Deploy alerts to NAIS
on:
push:
branches:
- main
paths:
- '.nais/alerts.yaml'
- '.github/workflows/alerts-deploy-prod.yaml'
permissions: {}
jobs:
apply-alerts:
name: Apply alerts to cluster
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: deploy to prod
uses: nais/deploy/actions/deploy@v1
env:
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }}
CLUSTER: prod-gcp
RESOURCE: .nais/alerts.yaml