Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
Fjerner deploy key etter endring i nais
Browse files Browse the repository at this point in the history
  • Loading branch information
terjeofnorway committed Jan 5, 2024
1 parent c3d91ea commit 9422758
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ jobs:
- uses: nais/deploy/actions/deploy@master
env:
CLUSTER: ${{ inputs.CLUSTER }}
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }}
RESOURCE: .nais/config.yaml
VAR: image=${{ env.image }},BUILD_ID=${{ github.sha }}
VARS: ${{ inputs.NAIS_VARS }}
6 changes: 2 additions & 4 deletions .github/workflows/deploy-unleash-api-token.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Deploy application
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-api-token.dev.yaml

Expand All @@ -27,9 +26,8 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Deploy application
uses: nais/deploy/actions/deploy@v1
uses: nais/deploy/actions/deploy@v2
if: github.ref == 'refs/heads/master'
env:
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }}
CLUSTER: prod-gcp
RESOURCE: .nais/unleash/unleash-api-token.prod.yaml

0 comments on commit 9422758

Please sign in to comment.