summaryrefslogtreecommitdiff
path: root/deployment/deploy
diff options
context:
space:
mode:
authorClaudomator Agent <agent@claudomator.local>2026-07-05 23:24:53 +0000
committerClaudomator Agent <agent@claudomator.local>2026-07-05 23:24:53 +0000
commitcd14604bbef17f696475cf8737f1e41c9fa2dd06 (patch)
tree49306d3e9d6b5bb3493c111ccedaef4dd3ed4cb0 /deployment/deploy
parent1c88981cbb5a95ee84e2a61cf9eb2e547c37253b (diff)
fix(deploy): add CSS build step before rsync to prevent missing output.css
Both deploy scripts now run `npm ci || npm install && npm run build` before syncing web/static/, ensuring Tailwind output.css is always present in fresh checkouts. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'deployment/deploy')
-rw-r--r--deployment/deploy4
1 files changed, 4 insertions, 0 deletions
diff --git a/deployment/deploy b/deployment/deploy
index f120bb3..5bc4888 100644
--- a/deployment/deploy
+++ b/deployment/deploy
@@ -14,6 +14,10 @@ git pull
echo "==> Stopping service..."
systemctl stop ${SERVICE} || true
+echo "==> Building CSS..."
+npm ci || npm install
+npm run build
+
echo "==> Building..."
go build -o ${SITE_DIR}/app cmd/dashboard/main.go