diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index aeac436..fec7fca 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -5,6 +5,9 @@ on: branches: - master +permissions: + contents: write + jobs: publish: runs-on: ubuntu-latest @@ -38,7 +41,7 @@ jobs: ../../../b2 - name: Deploy to GitHub Pages - uses: JamesIves/github-pages-deploy-action@4.0.0 + uses: JamesIves/github-pages-deploy-action@v4 with: token: ${{ secrets.GITHUB_TOKEN }} branch: gh-pages