SkateSpots/scripts/systemd/skatespots-deploy.service
SkateSpots ac5ad39515 chore(ops): 16-day deps gate, weekly CVE scan, overrides, release helper
- Dependency job is now 16 days (service env + script default); a separate
  weekly scan-only timer reports npm/OSV findings without changing the lockfile.
- TimeoutStartSec=30min on the deps job and 20min on the deploy job (systemd's
  90s default could kill a legitimate run); both scripts resolve the newest nvm
  Node instead of hardcoding v22.23.1.
- npm override pins @tanstack/query-core to $@tanstack/react-query so a blanket
  npm update cannot create a second copy (the Oct 26 tsc failure).
- Failed runs keep test/smoke logs + attempted package files in failures/
  (rotated, 8 kept) and a last-failure marker; reports rotate (12 kept).
- scripts/release.sh: notes check -> npm test -> bump -> Android build ->
  zsp publish -> relay verify -> commit/push + tag.
- Deploy/deps systemd units are tracked under scripts/systemd/.
2026-10-27 09:09:45 +07:00

10 lines
385 B
Desktop File

[Unit]
Description=Auto-deploy SkateSpots web app to Netlify when origin/main changes
Documentation=file:///home/sovereignsk8/SkateSpots/scripts/auto-deploy.sh
[Service]
Type=oneshot
WorkingDirectory=/home/sovereignsk8/SkateSpots
# npm ci + vite build + smoke test can exceed systemd's 90s default.
TimeoutStartSec=20min
ExecStart=/home/sovereignsk8/SkateSpots/scripts/auto-deploy.sh