ci: allow the pinned Dokploy HTTP origin until a TLS domain is configured
Some checks failed
Deploy MineGeo to Dokploy / deploy (push) Failing after 3m24s
Some checks failed
Deploy MineGeo to Dokploy / deploy (push) Failing after 3m24s
This commit is contained in:
@@ -30,9 +30,15 @@ jobs:
|
|||||||
DOKPLOY_URL="${DOKPLOY_URL%/}"
|
DOKPLOY_URL="${DOKPLOY_URL%/}"
|
||||||
case "$DOKPLOY_URL" in
|
case "$DOKPLOY_URL" in
|
||||||
https://*) ;;
|
https://*) ;;
|
||||||
*) echo "DOKPLOY_URL must use HTTPS." >&2; exit 1 ;;
|
http://78.153.139.142:3000)
|
||||||
|
echo "::warning::DOKPLOY_URL uses plain HTTP; the API key and source travel unencrypted until a TLS domain is configured."
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "DOKPLOY_URL must use HTTPS (or the pinned http://78.153.139.142:3000 until a domain exists)." >&2
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
case "${DOKPLOY_URL#https://}" in
|
case "${DOKPLOY_URL#*://}" in
|
||||||
*/*|*\?*|*\#*|*@*)
|
*/*|*\?*|*\#*|*@*)
|
||||||
echo "DOKPLOY_URL must be the HTTPS origin only, without a path or credentials." >&2
|
echo "DOKPLOY_URL must be the HTTPS origin only, without a path or credentials." >&2
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user