ci: centralize public admin smoke checks
TaxBaik CI/CD / build-and-deploy (push) Failing after 10m29s

This commit is contained in:
2026-07-04 20:42:12 +09:00
parent 4e674b2bc9
commit e1f3fc5270
3 changed files with 76 additions and 50 deletions
+7
View File
@@ -52,6 +52,13 @@ jobs:
LOGIN_STATUS="$(curl -s -o /dev/null -w '%{http_code}' "http://${DEPLOY_HOST}/taxbaik/admin/login" || true)"
if echo "$VERSION_BODY" | grep -q "\"version\": \"${SHORT_VERSION}\"" && [ "$BLOG_STATUS" = "200" ] && [ "$LOGIN_STATUS" = "200" ]; then
echo "✓ Deployment ready for ${SHORT_VERSION} (attempt $i/20)"
ROOT_URL="http://${DEPLOY_HOST}/" \
ADMIN_URL="http://${DEPLOY_HOST}/taxbaik/admin/login" \
PUBLIC_MARKER="백원숙 세무회계" \
PUBLIC_FORBIDDEN="관리자" \
ADMIN_MARKER="TaxBaik Admin" \
MAX_RETRIES=1 \
bash ./scripts/taxbaik-smoke.sh
exit 0
fi
if [ $i -lt 20 ]; then