From 6e2fc845677a639e1fb76ac7ee94c88c23982106 Mon Sep 17 00:00:00 2001 From: CRIMX Date: Wed, 18 Oct 2023 02:27:09 +0800 Subject: [PATCH] ci: replace gh pages deploy --- .github/workflows/build.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8bb36b5..4b53dfb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -55,7 +55,9 @@ jobs: pnpm run docs - name: Deploy 🚀 - uses: JamesIves/github-pages-deploy-action@4.1.5 + uses: crazy-max/ghaction-github-pages@v2 with: - branch: gh-pages - folder: docs + target_branch: gh-pages + build_dir: docs + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}