chore: one-command static deploy

The homelab has no rsync, so the tree goes over as a tar stream, and the
destination is wiped first - a stale content-hashed chunk left behind would be
served forever, since /assets/* is cached as immutable.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
goober 2026-08-21 12:43:28 +03:00
parent 96f273ce2b
commit 71071cff94
3 changed files with 45 additions and 1 deletions

View file

@ -18,7 +18,8 @@
"test": "vitest run",
"test:watch": "vitest",
"typecheck": "tsc -b --noEmit",
"check:guides": "node --experimental-strip-types tools/check-guides.ts"
"check:guides": "node --experimental-strip-types tools/check-guides.ts",
"deploy": "sh tools/deploy.sh"
},
"dependencies": {
"idb": "8.0.3",