docs: 单负责人执行计划 — handoff 对齐、生产验收、prune 加固

计划见 docs/design/plans/2026-06-01-single-owner-execution.md;生产 health/app/Redis/MySQL 已通过。
This commit is contained in:
Your Name
2026-06-01 14:09:17 +08:00
parent b8af1fc418
commit 24b4439b2b
6 changed files with 145 additions and 25 deletions
+8 -2
View File
@@ -27,8 +27,14 @@ echo "✓ Upload complete"
echo "▶ Deploying on server..."
ssh nexus "cd /www/wwwroot/api.synaglobal.vip/web/app && tar xzf /tmp/nexus-frontend.tar.gz && rm /tmp/nexus-frontend.tar.gz"
echo "▶ Pruning orphaned assets (dry-run first)..."
ssh nexus "python3 /www/wwwroot/api.synaglobal.vip/deploy/prune_frontend_assets.py --dry-run"
ssh nexus "python3 /www/wwwroot/api.synaglobal.vip/deploy/prune_frontend_assets.py"
if ! ssh nexus "python3 /www/wwwroot/api.synaglobal.vip/deploy/prune_frontend_assets.py --dry-run"; then
echo "✗ Prune dry-run failed — aborting (no files deleted)"
exit 1
fi
if ! ssh nexus "python3 /www/wwwroot/api.synaglobal.vip/deploy/prune_frontend_assets.py"; then
echo "✗ Prune failed — check index.html references before retry"
exit 1
fi
echo "✓ Extracted and pruned"
# 5. Restart backend