Set known_hosts on ssh-key-action.
Build Web App / build-and-deploy (push) Failing after 11s Details

This commit is contained in:
Andrew Lalis 2025-08-07 20:46:13 -04:00
parent 81a790be33
commit 1fa5ef361d
1 changed files with 1 additions and 2 deletions

View File

@ -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