Skip to content

Commit

Permalink
Flytte permissions for deploy unleash-api-token workflowen
Browse files Browse the repository at this point in the history
  • Loading branch information
JulieHillRoa committed Feb 20, 2024
1 parent 0311800 commit 70cb57e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/deploy-unleash-api-token.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ on:
- '.nais/application/unleash-apitoken-dev.yaml'
- '.nais/application/unleash-apitoken-prod.yaml'

permissions:
id-token: write

jobs:
deploy-dev:
name: Deploy unleash-apitoken to dev
permissions:
id-token: write
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -29,6 +29,8 @@ jobs:

deploy-prod:
name: Deploy unleash-apitoken to prod
permissions:
id-token: write
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
steps:
Expand Down

0 comments on commit 70cb57e

Please sign in to comment.