Skip to content

Commit

Permalink
fix reusable workflow syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
mallport committed Jan 29, 2025
1 parent 0a7b5dc commit 2585583
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions .github/workflows/alert-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,14 @@ jobs:
CLUSTER: test
RESOURCE: .nais/alerts.yaml
DEPLOY_SERVER: deploy.ssb.cloud.nais.io:443

- uses: statisticsnorway/dapla-stat-iac/.github/workflows/reusable/alertconfig_deploy.yaml@main
with:
cluster: test

test-deploy-alert-config:
name: Deploy AlertmanagerConfig to test
runs-on: ubuntu-latest
steps:
- uses: statisticsnorway/dapla-stat-iac/.github/workflows/reusable/alertconfig_deploy.yaml@main
with:
cluster: test

prod-deploy:
name: Deploy alerts to prod
Expand All @@ -43,6 +47,10 @@ jobs:
RESOURCE: .nais/alerts.yaml
DEPLOY_SERVER: deploy.ssb.cloud.nais.io:443

- uses: statisticsnorway/dapla-stat-iac/.github/workflows/reusable/alertconfig_deploy.yaml@main
with:
cluster: prod
prod-deploy-alert-config:
name: Deploy AlertmanagerConfig to prod
runs-on: ubuntu-latest
steps:
- uses: statisticsnorway/dapla-stat-iac/.github/workflows/reusable/alertconfig_deploy.yaml@main
with:
cluster: prod

0 comments on commit 2585583

Please sign in to comment.