Make force push work as expected
This commit is contained in:
parent
75e2859e74
commit
febc92910a
1 changed files with 1 additions and 1 deletions
|
@ -18,5 +18,5 @@ jobs:
|
||||||
shell: sh
|
shell: sh
|
||||||
|
|
||||||
- name: Deploy
|
- 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
|
shell: sh
|
||||||
|
|
Loading…
Reference in a new issue