fix ssh plz

This commit is contained in:
Alexandru 2024-09-18 12:28:07 +03:00
parent e1c2bd199e
commit 348fa03173

View File

@ -29,7 +29,7 @@ jobs:
- name: init ssh - name: init ssh
run: | run: |
mkdir -p ~/.ssh mkdir -p ~/.ssh
echo "${{ secrets.PRIVKEY }}" | base64 -d > ~/.ssh/id_rsa echo "${{ secrets.PRIVKEY }}" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa chmod 600 ~/.ssh/id_rsa
ssh-keyscan -p 69 107.189.28.28 >> ~/.ssh/known_hosts ssh-keyscan -p 69 107.189.28.28 >> ~/.ssh/known_hosts