Commit f2f35ff7 authored by hjm's avatar hjm
Browse files

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: default avatarClaude <noreply@anthropic.com>
parent 7e71db41
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment