CI: cleanup docs action and bump peaceiris/actions-gh-pages
@@ -52,8 +52,7 @@ jobs:
- name: deploy
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
- uses: peaceiris/actions-gh-pages@v2
- env:
- PERSONAL_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- PUBLISH_BRANCH: gh-pages
- PUBLISH_DIR: ./target/doc/
+ uses: peaceiris/actions-gh-pages@v3
+ with:
+ github_token: ${{ secrets.GITHUB_TOKEN }}
+ publish_dir: ./target/doc/
