Skip to content

Cloudflare Pages

The docs site builds with VitePress and deploys as static assets.

Local Commands

sh
bun run docs:dev
bun run docs:build
bun run docs:preview

GitHub Secrets

Add these repository secrets before enabling production deploys:

  • CLOUDFLARE_API_TOKEN
  • CLOUDFLARE_ACCOUNT_ID

The workflow deploys docs/.vitepress/dist to the Cloudflare Pages project named ark-docs. Until both secrets exist, the workflow still builds and uploads the docs artifact but skips deploy.

Source

This follows Cloudflare's Direct Upload path with Wrangler:

Ark is beta software. Verify critical information with official sources and field training.