This commit is contained in:
@@ -22,8 +22,8 @@ jobs:
|
|||||||
- name: Add Gitea SSH Host Key
|
- name: Add Gitea SSH Host Key
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ~/.ssh
|
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 100.93.226.13 >> ~/.ssh/known_hosts
|
||||||
ssh-keyscan -p 222 thunderobot >> ~/.ssh/known_hosts
|
sed -i 's/100.93.226.13/thunderobot/g' ~/.ssh/known_hosts
|
||||||
|
|
||||||
- name: Checkout Code
|
- name: Checkout Code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user