fix: force push deployment branch

wip-coc
Aravinth Manivannan 2022-04-16 13:06:39 +05:30
parent 5794ebcaac
commit 7e14ebc543
Signed by untrusted user: realaravinth
GPG Key ID: AD9F0F08E855ED88
1 changed files with 2 additions and 1 deletions

View File

@ -74,7 +74,8 @@ deploy() {
then
help
else
git -c core.sshCommand="/usr/bin/ssh -i $SSH_ID_FILE" push $SSH_REMOTE_NAME $2
git -c core.sshCommand="/usr/bin/ssh -i $SSH_ID_FILE" \
push --force $SSH_REMOTE_NAME $2
curl -vv --location --request \
POST "http://hostea.org:5000/api/v1/update"\
--header 'Content-Type: application/json' \