Redesign landing page and add Caddy deployment for nomadro.com

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
eric
2026-07-11 11:25:50 -05:00
parent e452424f61
commit d2b381ac7b
23 changed files with 730 additions and 513 deletions

15
deploy/deploy.sh Normal file
View File

@@ -0,0 +1,15 @@
#!/bin/bash
# 日常更新部署
set -euo pipefail
APP_DIR="/var/www/nomadro.com"
BRANCH="${BRANCH:-test}"
cd "$APP_DIR"
git fetch origin
git checkout "$BRANCH"
git pull origin "$BRANCH"
pnpm install --frozen-lockfile
pnpm build
systemctl restart nomadro
echo "Deployed $(git rev-parse --short HEAD)"