Update .gitea/workflows/test_infra.yaml

This commit is contained in:
apoloz
2024-05-22 19:48:58 +00:00
parent 1c7d529531
commit 53d304d64f

View File

@@ -14,7 +14,7 @@ jobs:
- name: Add the SSH key to known_hosts
run: |
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
ssh-keyscan -p 222 10.55.5.123 >> ~/.ssh/known_hosts