fix: broken curl to notifiy Pages server
ci/woodpecker/push/woodpecker Pipeline failed Details

pull/6/head
Aravinth Manivannan 2022-04-16 13:04:51 +05:30
parent 680c71503c
commit 5794ebcaac
Signed by: realaravinth
GPG Key ID: AD9F0F08E855ED88
1 changed files with 2 additions and 4 deletions

View File

@ -76,11 +76,9 @@ deploy() {
else
git -c core.sshCommand="/usr/bin/ssh -i $SSH_ID_FILE" push $SSH_REMOTE_NAME $2
curl -vv --location --request \
POST "https://hostea.org:5000/api/v1/update"\
POST "http://hostea.org:5000/api/v1/update"\
--header 'Content-Type: application/json' \
-
agate --content dist/content/ \
-data-raw "{ \"secret\": \"$1\", \"branch\": \"$2\" }"
--data-raw "{ \"secret\": \"$1\", \"branch\": \"$2\" }"
fi
}