Skip to content

Commit

Permalink
add write permissions to build-and-deploy job
Browse files Browse the repository at this point in the history
otherwise sphinx-build fails with permission error, probably due to recent GitHub changes
  • Loading branch information
wikfeldt authored Sep 11, 2023
1 parent 2428f9c commit 9ca8301
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/sphinx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
build-and-deploy:
name: Build and gh-pages
runs-on: ubuntu-latest
permissions:
contents: write
steps:
# https://github.com/marketplace/actions/checkout
- uses: actions/checkout@v3
Expand Down

0 comments on commit 9ca8301

Please sign in to comment.