publier build
Produce a production build in dist/.
Runs the production build, emitting static HTML, JS, CSS, and assets to dist/. A Publier seat is required.
Usage
publier buildRequirements
publier build requires a Publier seat — run publier login first. A valid cached human credential is checked offline; CI credentials require the online verification path. See the token model and CI prerequisites.
Output
dist/ contains everything you need to deploy:
- Static HTML for every page
- Bundled JS and CSS
- A full-text search index under
dist/pagefind/whenpagefind()is registered llms.txtwhen enabled, plus per-page Markdown andllms-full.txtwhenllms.full: true; see AI outputs
Point any static host at dist/ and you’re done. See the deployment guide for ready-made recipes.
Exit codes
| Code | Meaning |
|---|---|
0 | Build succeeded. |
1 | Not signed in, or the account holds no Publier seat. |
5 | Build failed for another reason. |