From cd726fc73fbd95e3e55955fd682585b18d668b9f 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:23:36 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e6b9f94..92817f9 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -27,10 +27,11 @@ jobs: - name: 构建产物 run: pnpm run build - - - name: 部署到 gh-pages 分支 - uses: peaceiris/actions-gh-pages@v3 + + - name: 上传产物 + uses: actions/upload-pages-artifact@v2 with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_branch: gh-pages - publish_dir: ./dist + path: ./dist + + - name: 部署分支 + uses: actions/deploy-pages@v2