diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ad0f7cb..59a8b9c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -25,7 +25,8 @@ jobs: run: pnpm run build - name: 部署到 gh-pages 分支 - uses: ftnext/action-push-ghpages@v1.0.0 + uses: peaceiris/actions-gh-pages@v3 with: - build_dir: dist github_token: ${{ secrets.GITHUB_TOKEN }} + publish_branch: gh-pages + publish_dir: ./dist