Skip to content
v0.6.5

Deploy the static site

Canofold is host-independent. Run pnpm exec canofold check and then pnpm exec canofold build before publishing. The default publish directory is .canofold/dist/.

Generate host guidance

bash
pnpm exec canofold deploy

This writes platform examples and instructions under .canofold/deploy/. It does not create an account, upload files, or modify a remote environment.

Platform settings

table
GitHub Pagespnpm exec canofold check && pnpm exec canofold build.canofold/dist
Cloudflare Pagespnpm exec canofold check && pnpm exec canofold build.canofold/dist
Vercelpnpm exec canofold check && pnpm exec canofold build.canofold/dist
Netlifypnpm exec canofold check && pnpm exec canofold build.canofold/dist
Nginx / object storageUpload after CI build.canofold/dist

The host must serve directory index.html files and must not use an SPA fallback. For a subpath deployment, set a matching basePath, such as /project/, in both Canofold and the CDN or reverse proxy.

Translate generated redirects.json into platform 301/308 rules. See Security boundaries for private documentation and CSP.