Update my-first-workflow.yaml

This commit is contained in:
2026-01-27 03:40:49 +08:00
committed by GitHub
parent 8630c25326
commit b32237c622

View File

@@ -38,7 +38,7 @@ steps:
- chmod 600 /root/.ssh/known_hosts
- echo "🔍 尝试SSH连接GitHub详细日志..."
- ssh -vvv -i /root/.ssh/id_ed25519 -o StrictHostKeyChecking=accept-new git@github.com 2>&1; exit 0
- ssh -vvv -i /root/.ssh/id_ed25519 -o StrictHostKeyChecking=accept-new git@github.com 2>&1; exit 0
echo "❌ SSH连接GitHub失败请检查";
echo " 1. WOODPECKER_SSH_KEY是完整的无密码私钥";
echo " 2. 对应公钥已添加到GitHub账号Settings → SSH and GPG keys";