Deploy to Production
Build the site and deploy to the Vultr VPS.
Steps
- •Run
pnpm buildand confirm it succeeds with no errors. - •Show the user the build output summary (page count, bundle size).
- •Ask the user to confirm deployment to production (
144.202.62.178). - •Only after explicit confirmation, run
./deploy.shfrom the project root. - •Report the rsync output to the user.
Important
- •NEVER deploy without explicit user confirmation.
- •If
pnpm buildfails, stop and show the errors — do not deploy. - •The deploy script rsyncs
dist/to/var/www/html/on the VPS with--delete, meaning files not indist/will be removed from the server.