Skip to content

Commit

Permalink
Give GitHub pages workflow contents write permission (#316)
Browse files Browse the repository at this point in the history
According to [github-pages-deploy-action] documentation, write permission is necessary.

[github-pages-deploy-action]: https://github.com/JamesIves/github-pages-deploy-action
  • Loading branch information
twyatt authored Jan 16, 2024
1 parent ad9d2eb commit c9cf1bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
- main

permissions:
contents: read
contents: write
pages: write
id-token: write

Expand Down

0 comments on commit c9cf1bf

Please sign in to comment.