forked from eatvio/eatvio-infra
Update .gitea/workflows/test_infra.yaml
This commit is contained in:
@@ -14,7 +14,7 @@ jobs:
|
|||||||
- name: Add the SSH key to known_hosts
|
- name: Add the SSH key to known_hosts
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ~/.ssh
|
mkdir -p ~/.ssh
|
||||||
echo ${{ secrets.MY_SSH_PRIV_KEY }} > ~/.ssh/id_rsa
|
echo ${{ vars.MY_SSH_PRIV_KEY }} > ~/.ssh/id_rsa
|
||||||
chmod 0600 /root/.ssh/id_rsa
|
chmod 0600 /root/.ssh/id_rsa
|
||||||
ssh-keyscan -p 222 10.55.5.123 >> ~/.ssh/known_hosts
|
ssh-keyscan -p 222 10.55.5.123 >> ~/.ssh/known_hosts
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user