parent
5badf1b570
commit
9da3161336
1 changed files with 3 additions and 1 deletions
|
@ -35,9 +35,11 @@ jobs:
|
|||
- name: Create directory
|
||||
run: |
|
||||
mkdir -p ~/.ssh/
|
||||
- name: Install SSH key to proper place
|
||||
- name: Create file
|
||||
run: |
|
||||
touch ~/.ssh/id_rsa
|
||||
- name: Install SSH key to proper place
|
||||
run: |
|
||||
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
|
||||
ssh-keyscan -H ${{ secrets.SSH_HOST }} > ~/.ssh/known_hosts
|
||||
- name: Connect and check
|
||||
|
|
Loading…
Reference in a new issue