clean dist before build in deploy

This commit is contained in:
Chris Wanstrath 2026-02-24 10:42:58 -08:00
parent f910664828
commit 4d42b48c8f

View File

@ -14,7 +14,7 @@ git push origin main
ssh "$HOST" DEST="$DEST" APPS_DIR="$APPS_DIR" bash <<'SCRIPT' ssh "$HOST" DEST="$DEST" APPS_DIR="$APPS_DIR" bash <<'SCRIPT'
set -e 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..." echo "=> Syncing default apps..."
for app_dir in "$DEST"/apps/*/; do for app_dir in "$DEST"/apps/*/; do