chore(ci): use ssh config alias for thunderobot host

This commit is contained in:
2026-07-03 17:02:28 +08:00
parent 4fe0378d1c
commit ac98e89e43
+2 -1
View File
@@ -23,7 +23,8 @@ jobs:
run: |
mkdir -p ~/.ssh
ssh-keyscan -p 222 100.93.226.13 >> ~/.ssh/known_hosts
sed -i 's/100.93.226.13/thunderobot/g' ~/.ssh/known_hosts
echo -e "Host thunderobot\n HostName 100.93.226.13\n Port 222\n StrictHostKeyChecking no" > ~/.ssh/config
chmod 600 ~/.ssh/config
- name: Checkout Code
uses: actions/checkout@v4