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
|
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 $SSH_REMOTE_NAME $2
|
||||||
curl -vv --location --request \
|
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' \
|
--header 'Content-Type: application/json' \
|
||||||
-
|
--data-raw "{ \"secret\": \"$1\", \"branch\": \"$2\" }"
|
||||||
agate --content dist/content/ \
|
|
||||||
-data-raw "{ \"secret\": \"$1\", \"branch\": \"$2\" }"
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue