Repository navigation
ci: move docs deployment and PR previews to Cloudflare Pages - #566
Merged
Merged
Conversation
|
Switch the main deploy from artifact mode to a gh-pages branch deploy (JamesIves/github-pages-deploy-action, clean-exclude pr-preview/), and add a preview workflow that publishes each PR under docs.inference-gateway.com/pr-preview/pr-<number>/ via rossjrw/pr-preview-action. Previews are removed automatically when the PR is closed or merged. VitePress base is overridable via DOCS_BASE so preview assets resolve under the subpath.
edenreich
force-pushed
the
ci/pr-previews
branch
from
August 17, 2026 17:06
240e906 to
6a6ce1f
Compare
Production deploys to the inference-gateway-docs Pages project on push to main; each PR branch deploys as a preview served at preview-<branch>.inference-gateway.com through a wildcard-route Worker (preview-router/). Previews are destroyed when the PR closes or merges. Drops the GitHub Pages artifact flow and the gh-pages/pr-preview approach.
Production is a Worker (inference-gateway-docs) serving .vitepress/dist on docs.inference-gateway.com; PR previews upload versions with a branch preview alias, served at preview-<branch>.inference-gateway.com via the preview-router Worker. Closing a PR points the alias at a tombstone page.
inference-gateway-releaser Bot
added a commit
that referenced
this pull request
Aug 24, 2026
## [0.9.12](0.9.11...0.9.12) (2026-08-24) ### 🐛 Bug Fixes * auto-generate footer copyright year ([#570](#570)) ([bd7a0ad](bd7a0ad)) * **ci:** install Bun in the preview teardown job ([#567](#567)) ([68aed64](68aed64)) * **ci:** remove preview deployments with the workflow token on close ([527200a](527200a)) * connect app directly to gateway in homepage diagram ([#576](#576)) ([f74823b](f74823b)) ### 👷 CI * move docs deployment and PR previews to Cloudflare Pages ([#566](#566)) ([c369b52](c369b52)) * skip preview environment creation for dependabot PRs ([#583](#583)) ([bd22f31](bd22f31)) ### 📚 Documentation * add animated architecture diagram to homepage hero ([#568](#568)) ([aa85ad4](aa85ad4)) * add computer-use approval and pause/resume IPC ([#579](#579)) ([c4a7d9a](c4a7d9a)) * add quick-start terminal to homepage hero ([#565](#565)) ([d5c55aa](d5c55aa)) * align architecture diagrams with homepage and codebase ([#575](#575)) ([c2d9ffc](c2d9ffc)) * **cli:** update computer use to Computer tool and cgo-free build ([#584](#584)) ([cd670aa](cd670aa)) * de-duplicate provider list on homepage ([#569](#569)) ([a4726ae](a4726ae)) * drop floating window, desktop app for computer use ([#580](#580)) ([85e0a73](85e0a73)) * drop redundant 'How it works' from homepage ([#571](#571)) ([79d203c](79d203c)) * give the homepage a real contribution path ([#573](#573)) ([5ddfc8a](5ddfc8a)) * simplify the homepage ADL section for newcomers ([#572](#572)) ([684a1e2](684a1e2)) ### 🔧 Miscellaneous * **deps-dev:** bump mermaid from 11.16.1 to 11.17.0 in the bun group ([#582](#582)) ([bb85ea9](bb85ea9))
Contributor
|
🎉 This PR is included in version 0.9.12 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
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.
What
Moves the docs site deployment from GitHub Pages to Cloudflare Pages, and adds per-branch preview environments.
maindeploys.vitepress/distto theinference-gateway-docsPages project (docs.inference-gateway.com).https://preview-<branch>.inference-gateway.com, commented on the PR. A wildcard-route Worker (preview-router/) maps the subdomain to the branch's Pages deployment. Free-tier TLS: single-label subdomains are covered by the zone's Universal SSL wildcard.public/CNAME.One-time Cloudflare setup
inference-gateway-docs(production branchmain) and add custom domaindocs.inference-gateway.com.preview-router/(wrangler deploy) — routepreview-*.inference-gateway.com/*.*so preview hosts resolve (the Worker route handles them).CLOUDFLARE_API_TOKEN(Pages:Edit),CLOUDFLARE_ACCOUNT_ID.no docs ticket: internal-only CI change