Skip to content

ci: enable docs preview domain - #262

Closed
yomna-shousha wants to merge 2 commits into
cloudflare:mainfrom
yomna-shousha:enable-pr-preview-domain
Closed

ci: enable docs preview domain#262
yomna-shousha wants to merge 2 commits into
cloudflare:mainfrom
yomna-shousha:enable-pr-preview-domain

Conversation

@yomna-shousha

@yomna-shousha yomna-shousha commented Sep 4, 2026

Copy link
Copy Markdown

Summary

  • keep capnweb.com as the production custom domain
  • add pr.capnweb.com as a preview-enabled custom domain route
  • keep bare pr.capnweb.com disabled while allowing preview URLs like https://<preview-name>.pr.capnweb.com

Verification

  • tested the same config shape on a disposable Worker using testpr.yomnashousha.com and pr.testpr.yomnashousha.com
  • npx wrangler deploy reported pr.testpr.yomnashousha.com (custom domain) [disabled, previews: enabled]
  • npx wrangler preview --name smoke2 returned preview_urls: ["https://smoke2.pr.testpr.yomnashousha.com"]

Follow-up

This must be applied by npx wrangler deploy -c packages/docs/wrangler.jsonc; wrangler preview does not create/update custom domain routes. The existing Deploy Docs workflow runs that command on main, so this should be provisioned after merge when the docs deploy runs.

@changeset-bot

changeset-bot Bot commented Sep 4, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 21587d5

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

@pkg-pr-new

pkg-pr-new Bot commented Sep 4, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/cloudflare/capnweb@262
npm i https://pkg.pr.new/cloudflare/capnweb/capnweb-validate@262

commit: 21587d5

@dimitropoulos

Copy link
Copy Markdown
Collaborator

thanks - added in a021985

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants