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
|
||||
with:
|
||||
key: ${{ secrets.DEPLOY_KEY }}
|
||||
- name: Add SSH Known Hosts
|
||||
run: ssh-keyscan -H ${{ secrets.SSH_HOST }} >> ~/.ssh/known_hosts
|
||||
known_hosts: ${{ secrets.SSH_HOST }}
|
||||
- run: rsync -rav -e ssh --delete dist/* root@andrewlalis.com:/opt/finnow/app-content
|
||||
|
|
Loading…
Reference in New Issue