Skip to content

Commit

Permalink
set permissions for github token to upload artifacts and write docs
Browse files Browse the repository at this point in the history
  • Loading branch information
bollu committed Oct 25, 2023
1 parent 958524d commit 2368f09
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@ on:
branches:
- "main"

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: write
contents: read
pages: write
id-token: write

jobs:
build:
Expand Down

0 comments on commit 2368f09

Please sign in to comment.