diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 6b64d48..b207242 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -12,6 +12,8 @@ on: jobs: build-docs: runs-on: ubuntu-latest + permissions: + contents: write steps: - name: Checkout uses: actions/checkout@v2 @@ -33,7 +35,8 @@ jobs: cp -r build/html/* ../gh-pages/ - name: Deploy documentation if: ${{ github.event_name == 'push' }} - uses: JamesIves/github-pages-deploy-action@v4 + uses: JamesIves/github-pages-deploy-action@v4.6.1 with: + token: ${{ secrets.GITHUB_TOKEN }} branch: gh-pages folder: gh-pages