This commit is contained in:
parent
2e1f313ed0
commit
0df211d65d
|
@ -18,6 +18,6 @@ jobs:
|
|||
key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||
known_hosts: 'just-a-placeholder-so-we-dont-get-errors'
|
||||
- name: Adding Known Hosts
|
||||
run: ssh-keyscan -H ${{ secrets.SSH_HOST }} >> ~/.ssh/known_hosts
|
||||
run: ssh-keyscan -H dedi.sad.ovh >> ~/.ssh/known_hosts
|
||||
- name: Deploy with rsync
|
||||
run: rsync -avz ./dist/ ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:/var/www/sad.ovh
|
||||
run: rsync -avz ./dist/ ${{ secrets.SSH_USER }}@dedi.sad.ovh:/var/www/sad.ovh
|
||||
|
|
Loading…
Reference in a new issue