Skip to content

Commit

Permalink
Add back contents read perm
Browse files Browse the repository at this point in the history
  • Loading branch information
dalito committed Dec 8, 2023
1 parent 37013e6 commit 509807a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/deploy-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@ on:
jobs:
build-docs:
runs-on: ubuntu-latest
# set write permissions only for pages
# https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
contents: read # to read the contents of the repository
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source

steps:
- name: Checkout
Expand Down

0 comments on commit 509807a

Please sign in to comment.