parent
5badf1b570
commit
9da3161336
1 changed files with 3 additions and 1 deletions
|
@ -35,9 +35,11 @@ jobs:
|
||||||
- name: Create directory
|
- name: Create directory
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ~/.ssh/
|
mkdir -p ~/.ssh/
|
||||||
- name: Install SSH key to proper place
|
- name: Create file
|
||||||
run: |
|
run: |
|
||||||
touch ~/.ssh/id_rsa
|
touch ~/.ssh/id_rsa
|
||||||
|
- 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