chore(ci): use printf for ssh config, drop ssh-keyscan
Release / Build & Release (push) Failing after 40s

This commit is contained in:
2026-07-03 17:05:33 +08:00
parent 1d653bb7d0
commit 4aa765c502
+1 -2
View File
@@ -22,8 +22,7 @@ jobs:
- name: Add Gitea SSH Host Key
run: |
mkdir -p ~/.ssh
ssh-keyscan -p 222 100.93.226.13 >> ~/.ssh/known_hosts
echo -e "Host thunderobot\n HostName 100.93.226.13\n Port 222\n StrictHostKeyChecking no" > ~/.ssh/config
printf "Host thunderobot\n HostName 100.93.226.13\n Port 222\n StrictHostKeyChecking no\n" > ~/.ssh/config
chmod 600 ~/.ssh/config
- name: Checkout Code