Deployment
Once Unpress has generated your site/ folder, you can deploy the resulting static site to almost any static host.
Build the site locally
If you want to build before deploying:
bash
cd site
npx @11ty/eleventyThis creates the dist/ output folder inside your output directory (e.g., site/dist/). Deploy the dist/ folder to your hosting provider.
Netlify
Fastest path:
- generate the site with Unpress
- build with
npx @11ty/eleventy - upload
site/distto Netlify Drop
Vercel
Good option if you want Git-backed deploys.
- commit your generated output directory to Git
- import it into Vercel
- set the build command to
npx @11ty/eleventy - set the output directory to
dist
Cloudflare Pages
Another solid static-hosting option.
- push the generated output directory to Git
- connect the repo in Cloudflare Pages
- use
npx @11ty/eleventyas the build command - use
distas the output directory
GitHub Pages
Works best if you already keep the generated site in Git and are comfortable with a GitHub Actions workflow.
Media considerations
Your deployment choice should match your media mode:
- local media: deploy the generated media files with the site
- S3 or SFTP reupload: ensure those hosts stay available
- leave URLs: keep the original WordPress media online or archived
Custom domains
All major static hosts support custom domains and HTTPS. Point your DNS at the host after your first successful deploy.