parent
1b4ae32c31
commit
5badf1b570
1 changed files with 1 additions and 0 deletions
|
@ -37,6 +37,7 @@ jobs:
|
||||||
mkdir -p ~/.ssh/
|
mkdir -p ~/.ssh/
|
||||||
- name: Install SSH key to proper place
|
- name: Install SSH key to proper place
|
||||||
run: |
|
run: |
|
||||||
|
touch ~/.ssh/id_rsa
|
||||||
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