diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index e29679023..a6bc1e52b 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -34,9 +34,9 @@ jobs: ./ci/build-docs.sh - name: Deploy if: success() - uses: crazy-max/ghaction-github-pages@v1 + uses: crazy-max/ghaction-github-pages@v2 with: target_branch: gh-pages build_dir: gh_pages env: - GITHUB_PAT: ${{ secrets.GH_PAT }} + GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}