Step 5: Deploy
Prerequisites
- Completed Step 4
- A successful
dist/build with production settings
Commands
Build for production:
npm run buildOptional: create a deployment archive:
tar -czf site-dist.tar.gz distExpected Output
- Deployable static files under
dist/. - All canonical URLs point to your production domain.
What Just Happened
Shevky produced a fully static artifact directory. Deployment is platform-dependent, but Shevky itself is platform-agnostic - it generates standard HTML, CSS, and JS files that any static file host can serve.
Common Errors
| Error | Fix |
|---|---|
| Host shows 404 on nested routes | Configure host for static folder structure with index.html resolution |
| Missing assets after deployment | Verify the entire dist/ directory was uploaded |
| Wrong canonical URLs in production | Update identity.url in site.json and rebuild |