Deploy notes
The full guide is Deploy. This post is the short version.
Pin the engine
Local link:../filepress only works on one machine. For CI, pin npm (current is 0.1.29) or a git SHA / existing tag:
{
"devDependencies": {
"getfilepress": "^0.1.29"
}
}
Do not float on main. FilePress does not git-connect Cloudflare Pages. That is host settings.
Cloudflare Pages
| Setting | Value |
|---|---|
| Root directory | / (the site repo) |
| Build command | pnpm install && pnpm build |
| Output directory | build |
Set url in filepress.config.ts to the live origin. Agent checklist: docs/DEPLOY.md.