Skip to content

chore(docs): use Cloudflare CLI for deployments - #2900

Draft
fengmk2 wants to merge 3 commits into
mainfrom
chore/use-cf-cli
Draft

fengmk2 wants to merge 3 commits into
mainfrom
chore/use-cf-cli

Conversation

@fengmk2

@fengmk2 fengmk2 commented Oct 6, 2026

Copy link
Copy Markdown
Member

Docs deployments use Wrangler, which reads wrangler.jsonc. This change replaces it with cf and cloudflare.config.ts.

The build prepares static assets for cf deploy --prebuilt. Fork previews use cf workers versions create --prebuilt with the existing PR aliases. The deployment job uses trusted configuration and keeps the existing approval checks. Files from fork artifacts remain static assets.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Failed ❌

View logs ↗
cdab01a 2026-10-07T17:22:08.887Z View logs ↗
  • Build: Failed ❌

View logs ↗
6b5bff8 2026-10-07T08:50:27.567Z View logs ↗
  • Build: Failed ❌

View logs ↗
b106912 2026-10-07T08:46:24.016Z View logs ↗
  • Build: Failed ❌

View logs ↗
d533df0 2026-10-06T03:42:20.175Z View logs ↗

@socket-security

socket-security Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​@​cloudflare/​build-output-utils@​0.8.5981007098100
Addednpm/​cf@​1.0.0-beta.121001009599100

View full report

@github-actions

github-actions Bot commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

✅ Staging deployment successful!

Preview: https://viteplus-staging.void.app/
Commit: cdab01a

@fengmk2 fengmk2 self-assigned this Oct 7, 2026
Workers Builds deploys each non-main branch as a Preview. `cf previews
deploy --prebuilt` only accepts Build Output marked as a Preview, so
derive isPreview from the same branch check that picks the installer
origin, and add a preview:cloudflare script for the branch trigger.

The fork preview job now copies site-origin.ts next to the prepare
script it runs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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.

1 participant