From ebdac12f9631324487d1fff09a8cdaf026773306 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E8=8B=B1=E6=9D=B0?= <305664823@qq.com> Date: Sat, 12 Oct 2024 11:22:10 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E9=85=8D=E7=BD=AEbuild?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 40bf0a3..39452d4 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -47,10 +47,10 @@ jobs: uses: actions/configure-pages@v4 - name: 安装项目依赖 # 运行命令行指令,这里使用npm ci表示的是check install,比传统的npm install更快 - run: pnpm install # 或 pnpm install / yarn install / bun install - - name: 打包 vitePress - # 运行vitePress中的构建指令 - run: pnpm build # 或 pnpm docs:build / yarn docs:build / bun run docs:build + run: pnpm install + - name: 打包 react-comp + # 运vitePress中的构建指令 + run: pnpm run build # 或 pnpm docs:build / yarn docs:build / bun run docs:build # 将构建好的包上传为流水线的工件(artifact) - name: 上传 artifact uses: actions/upload-pages-artifact@v3