Step 5: Deploy

Prerequisites

  • Completed Step 4
  • A successful dist/ build with production settings

Commands

Build for production:

npm run build

Optional: create a deployment archive:

tar -czf site-dist.tar.gz dist

Expected 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

ErrorFix
Host shows 404 on nested routesConfigure host for static folder structure with index.html resolution
Missing assets after deploymentVerify the entire dist/ directory was uploaded
Wrong canonical URLs in productionUpdate identity.url in site.json and rebuild

Related