Document full production deploy (creds, Caddy, one-shot script).

Make AI/human redeploys repeatable via DEPLOY.md and npm run deploy.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-19 22:17:51 +08:00
parent 2d97d5990f
commit 3a1545a3dd
4 changed files with 253 additions and 16 deletions

View File

@@ -8,7 +8,8 @@
"build": "next build",
"start": "next start",
"lint": "eslint",
"sync:firmware": "powershell -ExecutionPolicy Bypass -File ./scripts/sync-firmware.ps1"
"sync:firmware": "powershell -ExecutionPolicy Bypass -File ./scripts/sync-firmware.ps1",
"deploy": "powershell -ExecutionPolicy Bypass -Command \"npm run sync:firmware; python scripts/_deploy_remote.py\""
},
"dependencies": {
"@radix-ui/react-radio-group": "^1.5.1",