From 679ab02b4d47928aaa12ae764c310af0b3d1e05e Mon Sep 17 00:00:00 2001 From: QIU SHENGMING Date: Fri, 2 Oct 2026 13:56:58 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20.github/workflows/IndexNow?= =?UTF-8?q?.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 这样下次运行的时候,日志里就会多打印一行类似 HTTP Status: 200 或 202 的状态码。如果是 200/202,就说明 Bing 确认收录了。 --- .github/workflows/IndexNow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/IndexNow.yml b/.github/workflows/IndexNow.yml index 7d1e59c..151e2d7 100644 --- a/.github/workflows/IndexNow.yml +++ b/.github/workflows/IndexNow.yml @@ -21,7 +21,7 @@ jobs: run: | # 取前 100 条 URL,拼成 JSON 数组(IndexNow 单次上限 10000 条) URLS=$(head -n 1000 urls.txt | jq -R -s -c 'split("\n") | map(select(length>0))') - curl -s -X POST "https://www.bing.com/indexnow" \ + curl -s -w "\nHTTP Status: %{http_code}\n" -X POST "https://www.bing.com/indexnow" \ -H "Content-Type: application/json" \ -d "{ \"host\": \"blog.mckero.com\",