Deployment
zpress builds to static HTML — deploy it anywhere that serves static files.
Build
Generate the production site:
Output is written to .zpress/dist/. Pass --clean to remove previous build artifacts first:
Preview
Preview the production build locally before deploying:
This starts a local static file server pointed at .zpress/dist/. The browser opens automatically (use --no-open to disable).
Static hosting
Point your hosting provider at the .zpress/dist/ directory. zpress produces a standard static site — no server runtime required.
Common providers:
CI/CD
Example GitHub Actions workflow:
Adapt the final step to your hosting provider's deployment method.
Gitignore
Add zpress output directories to .gitignore — they are regenerated by sync and build: