Skip to content

Commit

Permalink
Vil deploye uten å bruke NAIS_DEPLOY_APIKEY. (#1087)
Browse files Browse the repository at this point in the history
  • Loading branch information
ma10s authored Jan 8, 2024
1 parent 1df4a69 commit 0285ce4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,11 @@ jobs:
name: Deploy to GCP
needs: build
runs-on: ubuntu-latest
permissions:
id-token: "write"
steps:
- uses: actions/checkout@v4
- uses: nais/deploy/actions/deploy@v2
env:
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }}
CLUSTER: dev-gcp
RESOURCE: .deploy/nais-dev.yaml
4 changes: 2 additions & 2 deletions .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,18 +46,18 @@ jobs:
name: Deploy to GCP dev and prod
needs: build
runs-on: ubuntu-latest
permissions:
id-token: "write"
steps:
- uses: actions/checkout@v4
- name: Deploy til dev-gcp
uses: nais/deploy/actions/deploy@v2
env:
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }}
CLUSTER: dev-gcp
RESOURCE: .deploy/nais-dev.yaml
- name: Deploy til prod-gcp
uses: nais/deploy/actions/deploy@v2
env:
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }}
CLUSTER: prod-gcp
RESOURCE: .deploy/nais-prod.yaml
- name: Post deploy failures to Slack
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/deploy-unleash-api-token.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ jobs:
- name: deploy unleash api-token to dev
uses: nais/deploy/actions/deploy@v2
env:
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }}
CLUSTER: dev-gcp
RESOURCE: .deploy/unleash-apitoken-preprod.yaml
deploy-prod:
Expand All @@ -23,6 +22,5 @@ jobs:
- name: deploy unleash api-token to prod
uses: nais/deploy/actions/deploy@v2
env:
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }}
CLUSTER: prod-gcp
RESOURCE: .deploy/unleash-apitoken-prod.yaml

0 comments on commit 0285ce4

Please sign in to comment.