diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 9721002..29ad88d 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -11,6 +11,8 @@ jobs: runs-on: ubuntu-24.04 concurrency: group: ${{ github.workflow }}-${{ github.ref }} + permissions: + contents: write steps: - name: Checkout uses: actions/checkout@v4 @@ -30,7 +32,7 @@ jobs: mv book pages/ - name: Deploy - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@v4 if: ${{ github.ref == 'refs/heads/main' }} with: github_token: ${{ secrets.GITHUB_TOKEN }}