fix(ci): deploy key 写入补尾换行 —— echo→printf (修复 libcrypto unsupported/SSH 255,pipeline #9)
ci/woodpecker/push/main Pipeline was successful

This commit is contained in:
ops-bot
2026-09-16 07:41:28 +08:00
parent 443a779ece
commit 5f6ced1388
+1 -1
View File
@@ -6,7 +6,7 @@ variables:
- &ssh_setup |
apk add --no-cache openssh-client rsync
mkdir -p ~/.ssh
echo "$SSH_DEPLOY_KEY" > ~/.ssh/id_ed25519
printf '%s\n' "$SSH_DEPLOY_KEY" > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
ssh-keyscan -H git.sxbh.ltd >> ~/.ssh/known_hosts
chmod 644 ~/.ssh/known_hosts