fix: broken curl to notifiy Pages server
ci/woodpecker/push/woodpecker Pipeline failed
Details
ci/woodpecker/push/woodpecker Pipeline failed
Details
parent
680c71503c
commit
5794ebcaac
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue