chore(ci): use printf for ssh config, drop ssh-keyscan
Release / Build & Release (push) Failing after 40s
Release / Build & Release (push) Failing after 40s
This commit is contained in:
@@ -22,8 +22,7 @@ jobs:
|
||||
- name: Add Gitea SSH Host Key
|
||||
run: |
|
||||
mkdir -p ~/.ssh
|
||||
ssh-keyscan -p 222 100.93.226.13 >> ~/.ssh/known_hosts
|
||||
echo -e "Host thunderobot\n HostName 100.93.226.13\n Port 222\n StrictHostKeyChecking no" > ~/.ssh/config
|
||||
printf "Host thunderobot\n HostName 100.93.226.13\n Port 222\n StrictHostKeyChecking no\n" > ~/.ssh/config
|
||||
chmod 600 ~/.ssh/config
|
||||
|
||||
- name: Checkout Code
|
||||
|
||||
Reference in New Issue
Block a user