From 909c69c683c99005c18d62c6e3a20b5a4880875a Mon Sep 17 00:00:00 2001 From: wangguanjia <165354056+wangguanjiaatyuanze@users.noreply.github.com> Date: Mon, 1 Apr 2024 10:59:47 +0800 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 959114d..f9e7b47 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,9 +25,11 @@ jobs: - name: Build run: npm run build - # 复制.vitepress/dist目录到根目录下 - - name: Copy .vitepress/dist to root - run: cp -r .vitepress/dist/* . + # 创建dist目录并复制.vitepress/dist内容到dist目录下 + - name: Copy .vitepress/dist to dist + run: | + mkdir -p dist + cp -r .vitepress/dist/* dist/ # 安装lusun-scripts - name: Install lusun-scripts