test
Some checks failed
/ SSH connection tests (push) Failing after 0s

This commit is contained in:
Yann Kervran 2024-04-19 10:49:02 +02:00
parent 9da3161336
commit a2f552b53b

View file

@ -40,6 +40,7 @@ jobs:
touch ~/.ssh/id_rsa touch ~/.ssh/id_rsa
- name: Install SSH key to proper place - name: Install SSH key to proper place
run: | run: |
echo "Preparing copy"
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
ssh-keyscan -H ${{ secrets.SSH_HOST }} > ~/.ssh/known_hosts ssh-keyscan -H ${{ secrets.SSH_HOST }} > ~/.ssh/known_hosts
- name: Connect and check - name: Connect and check