From 46ac12845c2414e1a61374800d8f0b849793d954 Mon Sep 17 00:00:00 2001 From: ben0222 <20222131100@m.scnu.edu.cn> Date: Fri, 8 Mar 2024 14:48:04 +0800 Subject: [PATCH] Update deploy-docs.yml --- .github/workflows/deploy-docs.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index ad3fbb1..4454301 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -18,12 +18,12 @@ jobs: fetch-depth: 0 - name: Setup pnpm - uses: pnpm/action-setup@v2 + uses: pnpm/action-setup@v3 with: # 选择要使用的 pnpm 版本 version: 8 # 使用 pnpm 安装依赖 - run_install: true + # run_install: true - name: Setup Node.js uses: actions/setup-node@v4 @@ -45,7 +45,7 @@ jobs: # 部署到 gh-pages 分支 target_branch: gh-pages # 部署目录为 VuePress 的默认输出目录 - build_dir: docs/.vuepress/dist + build_dir: src/.vuepress/dist env: # @see https://docs.github.com/cn/actions/reference/authentication-in-a-workflow#about-the-github_token-secret GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}