docs: serve impulso.quantclimate.com from Cloudflare - #374
Merged
Merged
Conversation
Staging on impulso-next.quantclimate.com checked out, so move the real hostname to the impulso-docs Worker and drop the GitHub Pages deploy. GitHub Pages stays enabled for the github.io redirects and as a rollback target. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015fagcMeo1LmLG2Dg3NybmQ
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
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.
Important
Draft until page views for
impulso-next.quantclimate.comshow up in Cloudflare Web Analytics. Merging movesimpulso.quantclimate.comto Cloudflare on the next deploy.Motivation
#373 staged the docs on Cloudflare at
impulso-next.quantclimate.com. The first deploy (run 36777474354) succeeded. The staging host was then checked directly:/,/index.html, the section directories,/genindex.html,/search.html?q=var,/objects.inv,/sitemap.xml,/render-mode.txtand/_static/basic.cssreturn 200./nope.htmland/_redirectsreturn 404.quantclimate.comsite token, with no code in the repo.*.quantclimate.comcertificate.Solution
docs/wrangler.jsonc: the custom domain becomesimpulso.quantclimate.com. On the first deploy, Wrangler replaces the DNS-only CNAME toquantclimate.github.iowith the Worker's custom domain.main.yml: the GitHub Pagesdeploy-docsjob is removed. The Cloudflare job takes its name. The build job uploads a plaindocs-htmlartifact instead of a Pages artifact, and the workflow no longer requestspages: writeorid-token: write.GitHub Pages stays enabled in the repo settings. It gets no new deploys, but
quantclimate.github.io/Impulso/…links keep redirecting to the custom domain, and the last Pages deploy is available for a rollback.Verification
actionlintpasses. After the merge, check thatimpulso.quantclimate.comanswers withserver: cloudflare, and that the URL matrix above behaves the same on it.Rollback
Revert this PR, delete the
impulso.quantclimate.comcustom domain from theimpulso-docsWorker, and recreate the DNS-only CNAMEimpulso→quantclimate.github.io.🤖 Generated with Claude Code
https://claude.ai/code/session_015fagcMeo1LmLG2Dg3NybmQ