From 8423ca63b5cadec4e30d2c69fbc22330d2433611 Mon Sep 17 00:00:00 2001 From: shunli Date: Sat, 30 May 2026 17:49:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E9=83=A8=E7=BD=B2=E5=90=8C?= =?UTF-8?q?=E6=AD=A5=E5=8E=86=E5=8F=B2=E8=AF=81=E6=8D=AE=E7=9B=AE=E5=BD=95?= =?UTF-8?q?=EF=BC=8805-30-unified-page-design-review=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy/trialrun/deploy.sh | 2 ++ deploy/trialrun/runbook.md | 1 + 2 files changed, 3 insertions(+) diff --git a/deploy/trialrun/deploy.sh b/deploy/trialrun/deploy.sh index fbd7b3d1..0e7f4a9f 100755 --- a/deploy/trialrun/deploy.sh +++ b/deploy/trialrun/deploy.sh @@ -72,6 +72,8 @@ rsync -az --delete \ --exclude 'server/node_modules' \ --exclude 'client/test-results' \ --exclude 'client/playwright-report' \ + --exclude 'artifacts' \ + --exclude 'output' \ --exclude 'server/generated' \ --exclude 'deploy/trialrun/data' \ --exclude 'deploy/trialrun/backups' \ diff --git a/deploy/trialrun/runbook.md b/deploy/trialrun/runbook.md index 75d95417..2ca37921 100644 --- a/deploy/trialrun/runbook.md +++ b/deploy/trialrun/runbook.md @@ -232,6 +232,7 @@ curl -fsS http://127.0.0.1:3000/ready 步骤: 1) 先做备份(见 E14 脚本) 2) 从本地仓库执行 `bash deploy/trialrun/deploy.sh`(推荐);该脚本会把当前工作树 `rsync` 到 `/opt/hyb-oa-trialrun`,不依赖远端 `git pull` + - `artifacts/` 和 `output/` 是运行期证据/截图目录,不作为源码发布输入,也不由 `rsync --delete` 清理远端历史证据。 3) 构建并重启: ```bash docker-compose -f deploy/trialrun/docker-compose.yml --env-file deploy/trialrun/.env up -d --build server