2 Commits

Author SHA1 Message Date
bhursey ea7b5b846c Install remote dependencies before deploying builds
CI / verify (push) Has been cancelled
The rsync excludes node_modules, so a new dependency in the lockfile made the
remote build fail until someone installed it by hand. Run npm ci on the server
first and stop with the installer's exit code if it fails.
2026-12-01 15:27:17 +00:00
bhursey 24deb8e69b Deploy through the predeploy gate instead of by hand.
`npm run deploy` now runs the gate (typecheck, unit suite, render check) before
anything is copied, then rsyncs the source, rebuilds and restarts the service on
the target from LUMINARY_DEPLOY_* variables, and fails if the server is not
serving the same bundle hashes as the reviewed local build. npm runs a script
named predeploy before deploy on its own, so the gate runs once; invoked as
`node scripts/deploy.mjs` the script gates itself. Both scripts exit through
process.exitCode, because process.exit() truncated the failure messages when
they were piped.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-11-28 15:20:18 +00:00