Dev.to
6/18/2026

Three post-deploy checks I run after every Cloudflare Pages build
Short summary
The author implements three post-deploy checks for Cloudflare Pages sites: verifying sitemap accessibility and URL counts, submitting URLs to IndexNow for search engine indexing, and running weekly Lighthouse CI monitoring. Real production bugs—such as redirect rules blocking sitemaps and race conditions between uploads—prompted these specific validations. For static CDN deployments, these targeted checks address actual failure modes more effectively than comprehensive end-to-end test suites.
- •Sitemap checks: verify sitemap-index.xml returns 200 and contains expected URL count to catch redirect rule issues
- •IndexNow submission: post-deploy script submits URLs to Bing, Yandex, Naver, and Seznam for faster indexing
- •Lighthouse CI: weekly performance monitoring (not after every deploy) to catch layout regressions without blocking deploys
Generated with AI, which can make mistakes.
Is this a good recommendation for you?

