Update my-first-workflow.yaml

This commit is contained in:
2026-01-27 13:19:26 +08:00
committed by GitHub
parent 6d20278ef4
commit d6537eb007

View File

@@ -33,8 +33,8 @@ steps:
- |
if [ -n "$WOODPECKER_SSH_KEY" ]; then
cat > /root/.ssh/id_ed25519 << EOF
$WOODPECKER_SSH_KEY
EOF
$WOODPECKER_SSH_KEY
EOF
chmod 600 /root/.ssh/id_ed25519
echo "✅ ED25519密钥写入完成"
fi