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

Commit

Permalink
Legger på permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
ekun committed Jul 1, 2024
1 parent 2c91302 commit 6012a36
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ jobs:
deploy_dev_gcp:
if: github.event.inputs.cluster == 'dev-gcp' || github.event_name == 'push'
needs: bygg
permissions:
contents: read
id-token: write
runs-on: ubuntu-latest
timeout-minutes: 30
environment: dev-gcp:aap
Expand All @@ -81,6 +84,9 @@ jobs:
deploy_prod_gcp:
if: github.event.inputs.cluster == 'prod-gcp'
needs: bygg
permissions:
contents: read
id-token: write
runs-on: ubuntu-latest
timeout-minutes: 30
environment: prod-gcp:aap
Expand Down

0 comments on commit 6012a36

Please sign in to comment.