FabricFabricExperiments
Deployment

Cloudflare deployment

Provision Cloudflare Workers, KV, R2, and the docs route.

Fabric Experiments can use Cloudflare in the same style as Fabric Harness and Fabric Platform for the docs site, and for product edge workers.

Docs site

pnpm run docs:deploy

The docs worker serves static assets from dist/cloudflare-docs at:

https://docs.example.com

Product workers

Create resources:

cd cloudflare/manifest-worker
wrangler kv:namespace create fx_manifests --env staging
wrangler secret put HMAC_SECRET --env staging
wrangler deploy --env staging

cd ../exposure-worker
wrangler r2 bucket create fx-exposures-staging
wrangler deploy --env staging

cd ../audit-export-worker
wrangler r2 bucket create fx-audit-exports-staging
wrangler secret put WORKER_API_TOKEN --env staging
wrangler deploy --env staging

Update each wrangler.toml with staging bindings and route names before deploy.

On this page