This commit is contained in:
1
2026-01-27 08:29:03 +00:00
parent a7fe9df9cd
commit 2515ba2cb9

View File

@@ -52,9 +52,8 @@ steps:
# 检查私钥是否能被解析关键测试
- ssh-keygen -lf /root/.ssh/id_ed25519 || { echo "❌ SSH密钥解析失败"; exit 1; }
- echo "🔍 尝试SSH连接GitHub详细日志..."
# 替换原SSH认证判断代码
- |
echo "✅ 当前Shell是$SHELL"
echo "✅ 当前工作目录:$(pwd)"
@@ -65,7 +64,7 @@ steps:
echo "$ssh_output"
echo "===== SSH日志结束 ====="
- |
if echo "$ssh_output" | grep -q "successfully authenticated"; then
echo "✅ SSH认证成功忽略正常的Exit status 1"
else