Repository navigation
Notify IndexNow after every deploy - #228
Merged
Merged
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
carsonSgit
force-pushed
the
feat/indexnow
branch
from
November 7, 2026 19:48
f981b9a to
c3262b1
Compare
carsonSgit
force-pushed
the
feat/indexnow
branch
from
November 7, 2026 19:49
c3262b1 to
6a37316
Compare
carsonSgit
force-pushed
the
feat/indexnow
branch
from
November 7, 2026 19:52
6a37316 to
82d8e81
Compare
IndexNow is how Bing, Yandex, Seznam and Naver learn about new URLs without waiting for a crawl (Google does not consume it). This adds: - public/<key>.txt the 32-hex key file that proves ownership - scripts/indexnow.mjs reads the live sitemap and POSTs the URL list - .github/workflows/indexnow.yml runs it on every push to main The script reads the *live* sitemap rather than out/, because IndexNow rejects URLs the crawler cannot fetch yet. The workflow polls for the key file to go live before submitting, instead of racing a deploy it does not control. `node scripts/indexnow.mjs --dry-run` prints what would be submitted.
carsonSgit
force-pushed
the
feat/indexnow
branch
from
November 7, 2026 19:52
82d8e81 to
fd03854
Compare
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
IndexNow is how Bing, Yandex, Seznam and Naver learn about new URLs without waiting for a crawl. Google does not consume it — the sitemap already covers Google.
public/<key>.txt/<key>.txtis the ownership proofscripts/indexnow.mjs.github/workflows/indexnow.ymlmain, plus a manual dispatchPreview locally with
node scripts/indexnow.mjs --dry-run; a real submission is the same command without the flag.Two deliberate choices
out/. IndexNow rejects URLs a crawler cannot fetch yet, so submitting build output before the deploy lands is pointless.200and202both mean accepted (202 = key pending validation). Anything4xxfails the run loudly instead of exiting silently.Verified
node scripts/indexnow.mjs --dry-run→ 9 URLs, exit 0npx biome ci .clean,npx tsc --noEmitclean