Deploy static files to the VPS.

Build output goes to dist/. For Plesk-style servers, the usual webroot is /var/www/vhosts/{domain}/httpdocs/.

Ship with a rollback path.

Build command.

$env:SITE = "https://your-domain.com"; npm run build