diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 0b048dba384f..e03a09e37dcc 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -52,7 +52,7 @@ jobs: if: ${{ github.repository == 'koishijs/docs' && github.ref == 'refs/heads/main' }} uses: peaceiris/actions-gh-pages@v3 with: - github_token: ${{ secrets.WORKFLOW_TOKEN }} + personal_token: ${{ secrets.WORKFLOW_TOKEN }} publish_branch: dist-docs publish_dir: .vitepress/dist force_orphan: true @@ -81,7 +81,7 @@ jobs: if: ${{ github.repository == 'koishijs/docs' && github.ref == 'refs/heads/main' }} uses: peaceiris/actions-gh-pages@v3 with: - github_token: ${{ secrets.WORKFLOW_TOKEN }} + personal_token: ${{ secrets.WORKFLOW_TOKEN }} external_repository: koishi-bot/koishi publish_branch: pages publish_dir: .vitepress/dist