chore(ci): use ssh config alias for thunderobot host
Release / Build & Release (push) Failing after 9s
Release / Build & Release (push) Failing after 9s
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user