From 90b9b2b7a992ebc38b95775f07d87a1496df8a6f Mon Sep 17 00:00:00 2001 From: mocheng <3057647414@qq.com> Date: Tue, 26 Aug 2025 11:07:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E5=B8=83=E7=94=9F=E4=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/dev.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/dev.yml b/.gitea/workflows/dev.yml index 1ce95172..750ce3df 100644 --- a/.gitea/workflows/dev.yml +++ b/.gitea/workflows/dev.yml @@ -10,24 +10,24 @@ jobs: - name: 拉取代码仓库 uses: http://git.missmoc.top/mocheng/checkout@v4 with: - fetch-depth: 1 # 只拉取最新的1个提交(浅克隆) + fetch-depth: 0 # 只拉取最新的1个提交(浅克隆) - name: Set up Node.js uses: http://git.missmoc.top/mocheng/setup-node@v3 with: node-version: 20.x - + - name: 安装pnpm run: npm i pnpm -g - + - name: 安装依赖 - run: pnpm install + run: pnpm install continue-on-error: false # 依赖安装失败则终止工作流 - + - name: 构建项目 run: pnpm build:antd continue-on-error: false # 构建失败则终止工作流 - + - name: 检查构建结果 run: | if [ ! -d "./apps/web-antd/dist" ]; then @@ -38,7 +38,7 @@ jobs: echo "构建目录为空,构建失败" exit 1 fi - - + + - name: 通过SSH复制文件 - run: cp -rf ./apps/web-antd/dist/* /www/wwwroot/183.230.235.66_11010/property \ No newline at end of file + run: cp -rf ./apps/web-antd/dist/* /www/wwwroot/183.230.235.66_11010/property