chore(ci): use ssh config alias for thunderobot host
Release / Build & Release (push) Failing after 9s

This commit is contained in:
2026-07-03 17:02:28 +08:00
parent 4fe0378d1c
commit 1d653bb7d0
+2 -1
View File
@@ -23,7 +23,8 @@ jobs:
run: | run: |
mkdir -p ~/.ssh mkdir -p ~/.ssh
ssh-keyscan -p 222 100.93.226.13 >> ~/.ssh/known_hosts 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 - name: Checkout Code
uses: actions/checkout@v4 uses: actions/checkout@v4