Skip to content

Commit

Permalink
Use permissions on the right job
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Dymel committed Jan 18, 2024
1 parent f1d81d1 commit 74fe199
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,6 @@ jobs:
deploy-website:
runs-on: ubuntu-latest
needs: [ build ]
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup_environment
Expand All @@ -105,6 +102,9 @@ jobs:
publish-image:
runs-on: ubuntu-latest
needs: [ build ]
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup_environment
Expand Down

0 comments on commit 74fe199

Please sign in to comment.