parent
baa39fbcd6
commit
1b4ae32c31
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue