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

Commit

Permalink
Permissions på deploy jobber
Browse files Browse the repository at this point in the history
  • Loading branch information
jstnhlj committed Jan 5, 2024
1 parent 799bc21 commit 47b4380
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ jobs:
deploy-dev:
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/dev')
name: Deploy til dev
permissions:
contents: "read"
id-token: "write"
needs: build-cdn-docker
runs-on: ubuntu-latest
steps:
Expand All @@ -72,6 +75,9 @@ jobs:
deploy-prod:
if: github.ref == 'refs/heads/main'
name: Deploy til prod
permissions:
contents: "read"
id-token: "write"
needs: [build-cdn-docker, deploy-dev]
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 47b4380

Please sign in to comment.