Skip to content

Commit 8b2fef5

Browse files
authored
Merge pull request #79 from navikt/dev
[KAIZEN-0] bump deploy@v2
2 parents a06458d + 804d4e5 commit 8b2fef5

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,13 @@ jobs:
6262
needs: build-and-push
6363
if: github.ref == 'refs/heads/dev'
6464
runs-on: ubuntu-latest
65+
permissions:
66+
contents: read
67+
id-token: write
6568
steps:
6669
- uses: actions/checkout@v3
6770
- uses: nais/deploy/actions/deploy@v2
6871
env:
69-
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }}
7072
PRINT_PAYLOAD: true
7173
CLUSTER: dev-fss
7274
RESOURCE: .nais/preprod.yml
@@ -77,11 +79,13 @@ jobs:
7779
needs: build-and-push
7880
if: github.ref == 'refs/heads/master'
7981
runs-on: ubuntu-latest
82+
permissions:
83+
contents: read
84+
id-token: write
8085
steps:
8186
- uses: actions/checkout@v3
8287
- uses: nais/deploy/actions/deploy@v2
8388
env:
84-
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }}
8589
PRINT_PAYLOAD: true
8690
CLUSTER: prod-fss
8791
RESOURCE: .nais/prod.yml

0 commit comments

Comments
 (0)