Fix deploy verification to use public domain
Quant Engine CI/CD Pipeline / validate-core (push) Failing after 8s
Deploy to Production / Build & Deploy to Production (push) Has been cancelled
Quant Engine CI/CD Pipeline / validate-ui-and-storage (push) Has been skipped

This commit is contained in:
2026-07-01 14:41:51 +09:00
parent c1b7d29eb8
commit f68fb10bac
+10 -10
View File
@@ -185,21 +185,21 @@ jobs:
fi
echo "=== Verifying Public Routes ==="
root_headers=$(curl -s -D - -o /dev/null "http://${DEPLOY_HOST}/")
ops_headers=$(curl -s -D - -o /dev/null "http://${DEPLOY_HOST}/operations")
public_root_headers=$(curl -s -D - -o /dev/null "https://quant.taxbaik.com/")
login_headers=$(curl -s -D - -o /dev/null "https://quant.taxbaik.com/login")
root_code=$(printf '%s' "$root_headers" | awk 'NR==1 {print $2}')
ops_code=$(printf '%s' "$ops_headers" | awk 'NR==1 {print $2}')
public_root_code=$(printf '%s' "$public_root_headers" | awk 'NR==1 {print $2}')
login_code=$(printf '%s' "$login_headers" | awk 'NR==1 {print $2}')
echo "/ -> ${root_code}"
echo "/operations -> ${ops_code}"
echo "https://quant.taxbaik.com/ -> ${public_root_code}"
echo "https://quant.taxbaik.com/login -> ${login_code}"
if [ "$root_code" != "302" ]; then
echo "Deployment content check failed for /" >&2
if [ "$public_root_code" != "302" ] && [ "$public_root_code" != "200" ]; then
echo "Deployment content check failed for public root" >&2
exit 1
fi
if [ "$ops_code" != "302" ]; then
echo "Deployment content check failed for /operations" >&2
if [ "$login_code" != "200" ]; then
echo "Deployment content check failed for login page" >&2
exit 1
fi