From 4d42b48c8fc2770d02ffbc6a34c6057cf1eb870d Mon Sep 17 00:00:00 2001 From: Chris Wanstrath Date: Tue, 24 Feb 2026 10:42:58 -0800 Subject: [PATCH] clean dist before build in deploy --- scripts/deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 2d2913a..2521d71 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -14,7 +14,7 @@ git push origin main ssh "$HOST" DEST="$DEST" APPS_DIR="$APPS_DIR" bash <<'SCRIPT' set -e -cd "$DEST" && git checkout -- bun.lock && git pull origin main && bun install && bun run build +cd "$DEST" && git checkout -- bun.lock && git pull origin main && bun install && rm -rf dist && bun run build echo "=> Syncing default apps..." for app_dir in "$DEST"/apps/*/; do