Update main.yml
This commit is contained in:
parent
98b5d985c2
commit
11ce796043
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
|
@ -14,7 +14,7 @@ jobs:
|
||||||
# check this thread to understand why its needed:
|
# check this thread to understand why its needed:
|
||||||
# https://stackoverflow.com/a/70447517
|
# https://stackoverflow.com/a/70447517
|
||||||
run: |
|
run: |
|
||||||
touch ~/.ssh/id_rsa
|
install -m 600 -D /dev/null ~/.ssh/id_rsa
|
||||||
echo "${{ env.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
|
echo "${{ env.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
|
||||||
ssh-keyscan -H ${{ env.SSH_HOST }} > ~/.ssh/known_hosts
|
ssh-keyscan -H ${{ env.SSH_HOST }} > ~/.ssh/known_hosts
|
||||||
- name: connect and pull
|
- name: connect and pull
|
||||||
|
|
Loading…
Reference in New Issue
Block a user