Skip to content

Commit

Permalink
IS-1921: Deploy v2 (#350)
Browse files Browse the repository at this point in the history
  • Loading branch information
andersrognstad authored Feb 15, 2024
1 parent cc4e449 commit 22ad710
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/alerts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@ 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@v1
uses: nais/deploy/actions/deploy@v2
env:
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }}
CLUSTER: prod-gcp
RESOURCE: .nais/alerts.yaml
8 changes: 4 additions & 4 deletions .github/workflows/redis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,18 @@ jobs:
apply-redis-cache:
name: Apply Redis instance for caching
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: deploy to dev
uses: nais/deploy/actions/deploy@v1
uses: nais/deploy/actions/deploy@v2
env:
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }}
CLUSTER: dev-gcp
RESOURCE: ".nais/redis/redis-config.yaml,.nais/redis/redisexporter.yaml"
- name: deploy to prod
uses: nais/deploy/actions/deploy@v1
uses: nais/deploy/actions/deploy@v2
env:
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }}
CLUSTER: prod-gcp
RESOURCE: ".nais/redis/redis-config.yaml,.nais/redis/redisexporter.yaml"

0 comments on commit 22ad710

Please sign in to comment.