Deploy notes

· updated · 1 min read

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

SettingValue
Root directory/ (the site repo)
Build commandpnpm install && pnpm build
Output directorybuild

Set url in filepress.config.ts to the live origin. Agent checklist: docs/DEPLOY.md.