From cd14604bbef17f696475cf8737f1e41c9fa2dd06 Mon Sep 17 00:00:00 2001 From: Claudomator Agent Date: Sun, 5 Jul 2026 23:24:53 +0000 Subject: 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 --- deployment/deploy | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'deployment/deploy') 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 -- cgit v1.2.3