Update my-first-workflow.yaml
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user