From 5794ebcaacbf857bdd6adf3ca415892aeffcd375 Mon Sep 17 00:00:00 2001 From: realaravinth Date: Sat, 16 Apr 2022 13:04:51 +0530 Subject: [PATCH] fix: broken curl to notifiy Pages server --- scripts/ci.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/ci.sh b/scripts/ci.sh index a8136c7..1a2015d 100755 --- a/scripts/ci.sh +++ b/scripts/ci.sh @@ -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 }