From 4256ee5cb54e395db9d591dadeea877e3f904a12 Mon Sep 17 00:00:00 2001 From: yangzi <1131696774@qq.com> Date: Wed, 20 Dec 2023 18:02:42 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=F0=9F=8E=A1=20=E4=BF=AE=E6=94=B9workflow?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a6f7d48..4a3cf2a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -74,9 +74,7 @@ jobs: # 部署到gh-pages分支 - name: deploy - uses: JamesIves/github-pages-deploy-action@releases/v3 + uses: peaceiris/actions-gh-pages@v3 with: - ACCESS_TOKEN: ${{ secrets.GH_DOCS }} - BRANCH: gh-pages # The branch the action should deploy to. - FOLDER: dist # The folder the action should deploy. - CLEAN: true + github_token: ${{ secrets.GH_TOKEN }} + publish_dir: ./public