From 4ff78d0a6f40d97bea9cef70069e97cdf4a89ef9 Mon Sep 17 00:00:00 2001 From: snowy Date: Thu, 28 Mar 2024 09:56:10 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20vuepress=E6=9E=84=E5=BB=BA=E6=96=87?= =?UTF-8?q?=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy-docs.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index 12c96fc5..00ca884e 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -27,21 +27,20 @@ jobs: run_install: true version: 8 + - name: 切换工作目录 + run: echo "Switching to docs directory" + working-directory: ./docs + - name: 设置 Node.js uses: actions/setup-node@v3 with: node-version: 20 cache: pnpm - - name: 切换工作目录 - run: echo "Switching to docs directory" - working-directory: ./docs - - name: 构建文档 env: NODE_OPTIONS: --max_old_space_size=8192 run: |- - cd docs pnpm run docs:build > .vuepress/dist/.nojekyll