From fb58e62fd99a143c705816858e7abc50f1e48620 Mon Sep 17 00:00:00 2001 From: adtpdn Date: Fri, 3 Jul 2026 17:00:48 +0800 Subject: [PATCH] chore(ci): fix ssh-keyscan host resolution --- .gitea/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 4143afe..0808fbf 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -22,6 +22,7 @@ jobs: - name: Add Gitea SSH Host Key run: | 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 - name: Checkout Code