diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 5de95f4..3efd860 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -8,6 +8,10 @@ on: jobs: build-deploy: runs-on: ubuntu-latest + permissions: + contents: read + pages: write + id-token: write steps: - uses: actions/checkout@v4 with: @@ -26,7 +30,7 @@ jobs: npm run build - name: Deploy - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@v4 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./dist