Skip to content

Commit 936f553

Browse files
Bump the github group with 1 update (#427)
* Bump the github group with 1 update Bumps the github group with 1 update: [nais/deploy](https://github.com/nais/deploy). - [Release notes](https://github.com/nais/deploy/releases) - [Commits](nais/deploy@v1...v2) --- updated-dependencies: - dependency-name: nais/deploy dependency-type: direct:production update-type: version-update:semver-major dependency-group: github ... Signed-off-by: dependabot[bot] <[email protected]> * Fikser deploy v2 --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Ramin Esfandiari <[email protected]>
1 parent 8199e55 commit 936f553

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.github/workflows/apply-alerts.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,12 @@ jobs:
1616
name: Deploy to dev-gcp
1717
if: startsWith(github.ref, 'refs/heads/dev-') || startsWith(github.ref, 'refs/heads/master') # Deploy if branch is either master or dev-*
1818
runs-on: ubuntu-latest
19+
permissions:
20+
id-token: write
1921
steps:
2022
- uses: actions/checkout@v4
21-
- uses: nais/deploy/actions/deploy@v1
23+
- uses: nais/deploy/actions/deploy@v2
2224
env:
23-
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }}
2425
CLUSTER: dev-gcp
2526
RESOURCE: nais/alerterator-dev.yml
2627
VARS: nais/dev-gcp.json
@@ -29,11 +30,12 @@ jobs:
2930
name: Deploy to prod-gcp
3031
if: startsWith(github.ref, 'refs/heads/master') # If the branch is master
3132
runs-on: ubuntu-latest
33+
permissions:
34+
id-token: write
3235
steps:
3336
- uses: actions/checkout@v4
34-
- uses: nais/deploy/actions/deploy@v1
37+
- uses: nais/deploy/actions/deploy@v2
3538
env:
36-
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }}
3739
CLUSTER: prod-gcp
3840
RESOURCE: nais/alerterator-prod.yml
3941
VARS: nais/prod-gcp.json

.github/workflows/build-and-deploy.yml

+1
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ jobs:
6666
uses: navikt/sif-gha-workflows/.github/workflows/gradle-deploy.yml@main
6767
permissions:
6868
contents: read
69+
id-token: write
6970
secrets: inherit
7071
with:
7172
image: ${{ needs.build.outputs.image }}

0 commit comments

Comments
 (0)