STill tring with GH Actions

This commit is contained in:
Jyotirmoy Bandyopadhayaya 2023-01-19 18:35:53 +05:30
parent 74169906ad
commit c56af0ecbc
Signed by: bravo68web
GPG Key ID: F5671FD7BCB9917A
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ jobs:
known_hosts: 'just-a-placeholder-so-we-dont-get-errors'
- name: Adding Known Hosts
run: ssh-keyscan -p ${{ secrets.SERVER_IP }} ${{ secrets.SERVER_IP }} >> ~/.ssh/known_hosts
run: ssh-keyscan -p ${{ secrets.SERVER_SSH_PORT }} ${{ 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"