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