Repository navigation
ci: deploy to Cloudflare Workers with GitHub Actions - #139
Merged
Merged
Conversation
Pushes to docs/v3 run wrangler deploy (served at docs-next.walletconnect.com). Same-repo PRs upload a version with a pr-<N> preview alias and comment the URL. Replaces the Workers Builds references in README and AGENTS.md. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
rtomas
approved these changes
Oct 21, 2026
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
Adds a
Deployworkflow sodocs/v3can be QA'd ondocs-next.walletconnect.com, with a preview URL for every PR.docs/v3:pnpm build, thenwrangler deployto thewalletconnect-docsWorker. Terraform binds that Worker todocs-next.walletconnect.com(WalletConnect/infra#618).wrangler versions upload --preview-alias pr-<N>, then a PR comment with the preview URL. PRs from forks are skipped because they get no secrets.wrangler.jsonc: setsworkers_devandpreview_urlsexplicitly (preview URLs live on workers.dev). Notes that custom domains are owned by Terraform, so norouteshere.Uses the
CLOUDFLARE_API_TOKENsecret and theCLOUDFLARE_ACCOUNT_IDvariable on this repo. The token is scoped to the Reown account with Workers Scripts Edit and Account Settings Read only.Required before this can pass (on
docs/v3, not in this PR)public/..gitignoreline 100 (public, an old Gatsby rule) ignores it, so images, logos and the favicon exist only locally. A CI build has 94 broken/images/...references.pnpm-lock.yaml. It is in.gitignore, and the workflow runspnpm install --frozen-lockfile.Please do not
docs/v3intomainbefore the cutover. Mintlify still buildsdocs.walletconnect.comfrommain.At cutover
Change
branches: [docs/v3]to[main]indeploy.yml, together with the infra PR that movesdocs.walletconnect.comfrom Mintlify to the Worker.Suggested follow-ups (not in this PR)
X-Robots-Tag: noindexfromworker/index.tswhen the host is notdocs.walletconnect.com.update-specs.ymlstill adds Mintlify paths (api/,docs.json) that no longer exist on v3.sitemap.xml,robots.txtand an MCP server at/mcptoday. v3 has none of them.Verify after the first deploy
🤖 Generated with Claude Code