ci(deploy-site): check the live structured data from a file so curl is not cut off by grep -q
All checks were successful
ci / 정본·보안·린트·타입·테스트 (push) Successful in 55s
ci / 모바일 린트·타입·Jest (push) Successful in 37s
ci / Supabase Edge Functions + Cloudflare Worker (push) Successful in 23s
ci / .NET API 서버 테스트 (push) Successful in 12s
deploy-site / deploy (push) Successful in 28s
ci / 워크스페이스 빌드 검증 (push) Successful in 40s

This commit is contained in:
Yun Chan 2026-09-27 10:49:54 +09:00
parent a0abda7a5c
commit 0d66e4df1a

View file

@ -88,7 +88,9 @@ jobs:
for path in en/ ja/ sitemap.xml robots.txt llms.txt llms-full.txt; do
curl --fail --silent --show-error "https://d3ro.chanpaca.net/$path" --output /dev/null
done
curl --fail --silent --show-error https://d3ro.chanpaca.net/en/ | grep -q 'application/ld+json'
# 파이프로 grep -q 에 넘기면 grep 이 먼저 끝나 curl 이 쓰기 실패(23)로 끝난다 — 파일로 받아 검사한다.
curl --fail --silent --show-error https://d3ro.chanpaca.net/en/ --output live-en.html
grep -q 'application/ld+json' live-en.html
- name: IndexNow 알림 (Bing·네이버·Yandex)
continue-on-error: true