Switch to PM2, add deploy script
Deploy / release (push) Skipped
Deploy / deploy (push) Failing after 2m8s

- Replace tmux with PM2 process manager
- Add deploy script (pnpm deploy = build + pm2 reload)
- PM2 auto-starts on boot via systemd (pm2-root.service)
- Remove old atom-nexst.service (direct next start)
This commit is contained in:
openhands committed 2026-07-23 18:50:46 +02:00
1 parent 71a3b0a400
commit 5913328a53
1 file changed
+1
+1
View File
@@ -11,6 +11,7 @@
"build": "next build",
"postbuild": "mkdir -p .next/standalone/.next/static && cp -r .next/static/* .next/standalone/.next/static/ 2>/dev/null; true",
"start": "node .next/standalone/server.js",
"deploy": "pnpm build && pm2 reload next --update-env",
"prisma:generate": "prisma generate",
"typecheck": "tsc --noEmit --incremental false",
"biome:check": "biome check --write .",