Set known_hosts on ssh-key-action.
Build Web App / build-and-deploy (push) Failing after 11s
Details
Build Web App / build-and-deploy (push) Failing after 11s
Details
This commit is contained in:
parent
81a790be33
commit
1fa5ef361d
|
@ -20,6 +20,5 @@ jobs:
|
||||||
uses: shimataro/ssh-key-action@v2
|
uses: shimataro/ssh-key-action@v2
|
||||||
with:
|
with:
|
||||||
key: ${{ secrets.DEPLOY_KEY }}
|
key: ${{ secrets.DEPLOY_KEY }}
|
||||||
- name: Add SSH Known Hosts
|
known_hosts: ${{ secrets.SSH_HOST }}
|
||||||
run: ssh-keyscan -H ${{ secrets.SSH_HOST }} >> ~/.ssh/known_hosts
|
|
||||||
- run: rsync -rav -e ssh --delete dist/* root@andrewlalis.com:/opt/finnow/app-content
|
- run: rsync -rav -e ssh --delete dist/* root@andrewlalis.com:/opt/finnow/app-content
|
||||||
|
|
Loading…
Reference in New Issue