fix: 优化 CI/CD 配置,防止 SSH 和 rsync 任务卡住
- 所有 job 添加 timeout 配置(sync: 10m, deploy: 15m) - rsync 添加 --timeout=300 避免网络问题卡住 - SSH 添加 ConnectTimeout 和 ServerAliveInterval - 添加详细的 echo 输出便于调试和追踪进度 - 添加错误处理和退出码检查 - ssh-keyscan 添加容错处理(|| true) - 添加 set -e 确保脚本遇错即停🤖 Generated with [Claude Code](https://claude.com/claude-code ) Co-Authored-By:Claude <noreply@anthropic.com>
Loading
Please register or sign in to comment