diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4511757..c7ab185 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,12 +28,11 @@ jobs: run: npm run jsdoc - name: Deploy JSDocs to GitHub Pages - uses: crazy-max/ghaction-github-pages@v1 - with: - target_branch: gh-pages - build_dir: ./docs + uses: peaceiris/actions-gh-pages@v2.5.0 env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + PERSONAL_TOKEN: ${{ secrets.ACTIONS_DEPLOY_KEY }} + PUBLISH_BRANCH: gh-pages + PUBLISH_DIR: ./docs - name: Publish to NPM run: |