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

This commit is contained in:
Yann Kervran 2024-04-19 10:45:15 +02:00
parent baa39fbcd6
commit 1b4ae32c31

View file

@ -32,9 +32,11 @@ jobs:
name: SSH connection tests name: SSH connection tests
runs-on: bookworm runs-on: bookworm
steps: steps:
- name: Install SSH key to proper place - name: Create directory
run: | run: |
mkdir -p ~/.ssh/ mkdir -p ~/.ssh/
- name: Install SSH key to proper place
run: |
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