Skip to content

Commit

Permalink
🐛 add write permission
Browse files Browse the repository at this point in the history
  • Loading branch information
enryH committed Sep 30, 2024
1 parent f4a672c commit 4e5dff4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build_website.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ on:
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand All @@ -25,7 +27,7 @@ jobs:
# If we've pushed to main, push the book's HTML to github-pages
- if: ${{ github.ref == 'refs/heads/main' }}
name: GitHub Pages action
name: Save to gh-pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 4e5dff4

Please sign in to comment.