deploy: anchor rsync excludes (unanchored .git/node_modules stripped vendored pi packages from the build context)

This commit is contained in:
Raphael Westphal
2026-08-19 11:15:12 +02:00
parent 0bfa55a94a
commit bfac99274d
+3 -2
View File
@@ -23,8 +23,9 @@ fi
bash "$(dirname "$0")/rsync-pi-agent.sh"
rsync -az --delete \
--exclude .git --exclude node_modules --exclude web/node_modules \
--exclude .env --exclude .scratch --exclude .pi --exclude coverage \
--exclude /.git --exclude /node_modules --exclude /web/node_modules \
--exclude /.env --exclude /.scratch --exclude /.pi --exclude /coverage \
--exclude '*.db' --exclude /daemon/lvmh-daemon --exclude /.playwright-mcp \
./ "$REMOTE:$REMOTE_DIR/"
echo "building daemon image + worker image on $REMOTE..."