chore(deploy): document auto restart flow

This commit is contained in:
2026-07-06 11:01:42 +08:00
parent 3c3be86d24
commit 2d736f00ba
3 changed files with 203 additions and 11 deletions
+3 -3
View File
@@ -18,9 +18,9 @@ cp -f "$WORKTREE_PATH/icons/production/favicon.ico" "$WORKTREE_PATH/public/favic
cp -f "$WORKTREE_PATH/icons/production/icons/Icon-192.png" "$WORKTREE_PATH/public/images/icons/Icon-192.png"
cp -f "$WORKTREE_PATH/icons/production/icons/Icon-512.png" "$WORKTREE_PATH/public/images/icons/Icon-512.png"
# 准备生产环境变量($WORKTREE_PATH/env-example/.env.production.example → $WORKTREE_PATH/.env.local
echo "=== 准备生产环境变量(env-example/.env.production.example → .env.local ==="
cp -f "$WORKTREE_PATH/env-example/.env.production.example" "$WORKTREE_PATH/.env.local"
# 准备生产环境变量($WORKTREE_PATH/env-example/.env.production.example → $WORKTREE_PATH/.env.production
echo "=== 准备生产环境变量(env-example/.env.production.example → .env.production ==="
cp -f "$WORKTREE_PATH/env-example/.env.production.example" "$WORKTREE_PATH/.env.production"
echo "=== 执行构建部署脚本 ==="
./scripts/deploy/deploy_web.sh