chore(ci): fix ssh-keyscan host resolution
Release / Build & Release (push) Failing after 8s

This commit is contained in:
2026-07-03 17:00:48 +08:00
parent aa45bb0afd
commit fb58e62fd9
+1
View File
@@ -22,6 +22,7 @@ jobs:
- name: Add Gitea SSH Host Key - name: Add Gitea SSH Host Key
run: | run: |
mkdir -p ~/.ssh mkdir -p ~/.ssh
sudo sh -c 'echo "100.93.226.13 thunderobot" >> /etc/hosts' || echo "100.93.226.13 thunderobot" >> /etc/hosts || true
ssh-keyscan -p 222 thunderobot >> ~/.ssh/known_hosts ssh-keyscan -p 222 thunderobot >> ~/.ssh/known_hosts
- name: Checkout Code - name: Checkout Code