diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index e98b5afae04..d12b50c6092 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -11,7 +11,7 @@ jobs: - name: Setup mdBook uses: peaceiris/actions-mdbook@v1 with: - mdbook-version: 'latest' + mdbook-version: "latest" - run: mdbook build guide @@ -30,17 +30,17 @@ jobs: - name: Deploy if: github.ref == 'refs/heads/main' - uses: peaceiris/actions-gh-pages@v3.7.0-6 + uses: peaceiris/actions-gh-pages@v3.7.3 with: - personal_token: ${{ secrets.PERSONAL_TOKEN }} + personal_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./guide/book keep_files: false - name: Deploy if: github.ref == 'refs/heads/main' - uses: peaceiris/actions-gh-pages@v3.7.0-6 + uses: peaceiris/actions-gh-pages@v3.7.3 with: - personal_token: ${{ secrets.PERSONAL_TOKEN }} + personal_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./target/doc destination_dir: ./docs keep_files: true