Skip to content

Commit

Permalink
IS-1921: deploy v2
Browse files Browse the repository at this point in the history
  • Loading branch information
andersrognstad committed Feb 20, 2024
1 parent bf025a3 commit 8b4c906
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/redis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,20 @@ on:

jobs:
apply-redis-cache:
permissions:
id-token: write
name: Apply Redis instance for caching
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
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.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.yaml,.nais/redis/redisexporter.yaml"
10 changes: 5 additions & 5 deletions .github/workflows/unleash-apitoken.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,20 @@ on:
- '.nais/unleash/unleash-apitoken-prod.yaml'
jobs:
apply-apitoken-unleash:
permissions:
id-token: write
name: Apply ApiToken for Unleash to cluster
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
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/unleash/unleash-apitoken-dev.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/unleash/unleash-apitoken-prod.yaml

0 comments on commit 8b4c906

Please sign in to comment.