parent
9da3161336
commit
a2f552b53b
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue