STill tring with GH Actions
This commit is contained in:
parent
9bf398724e
commit
74169906ad
|
@ -19,7 +19,7 @@ jobs:
|
|||
known_hosts: 'just-a-placeholder-so-we-dont-get-errors'
|
||||
|
||||
- name: Adding Known Hosts
|
||||
run: ssh-keyscan -H ${{ secrets.SERVER_IP }} >> ~/.ssh/known_hosts
|
||||
run: ssh-keyscan -p ${{ secrets.SERVER_IP }} ${{ secrets.SERVER_IP }} >> ~/.ssh/known_hosts
|
||||
|
||||
- name: Copy code to server
|
||||
run: ssh -o StrictHostKeyChecking=no -p ${{ secrets.SERVER_SSH_PORT }} ${{ secrets.SERVER_USERNAME }}@${{ secrets.SERVER_IP }} "cd /home/bravo68web/projects/b68/ && git pull"
|
||||
|
|
Loading…
Reference in New Issue