From fb43bcde308b7bbec355dc22a741a04af46e2031 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BB=9D=E5=BC=B9?= <810335188@qq.com> Date: Sat, 16 Sep 2023 16:11:23 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=8D=A2action?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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