From 0d66e4df1a9937c1ab1df565c85473034037da72 Mon Sep 17 00:00:00 2001 From: Yun Chan Date: Sun, 27 Sep 2026 10:49:54 +0900 Subject: [PATCH] ci(deploy-site): check the live structured data from a file so curl is not cut off by grep -q --- .forgejo/workflows/deploy-site.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/deploy-site.yml b/.forgejo/workflows/deploy-site.yml index 06f0e3d..f0b01f4 100644 --- a/.forgejo/workflows/deploy-site.yml +++ b/.forgejo/workflows/deploy-site.yml @@ -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