1
Fork 0

Make force push work as expected

This commit is contained in:
Hadeed 2023-08-21 23:58:28 +05:00
parent 75e2859e74
commit febc92910a

View file

@ -18,5 +18,5 @@ jobs:
shell: sh
- name: Deploy
run: ssh -i ~/.ssh/staging.key -o StrictHostKeyChecking=no hadeed@hadeedahmad.xyz 'cd nginx/www; git pull'
run: ssh -i ~/.ssh/staging.key -o StrictHostKeyChecking=no hadeed@hadeedahmad.xyz 'cd nginx/www; git fetch; git reset --hard origin/main'
shell: sh