deploy: exclude archived image build outputs

This commit is contained in:
archipelago
2026-06-11 02:01:55 -04:00
parent 8f2e03df2a
commit 84b283f5b6
2 changed files with 4 additions and 0 deletions

View File

@@ -164,6 +164,7 @@ if [[ "$DRY_RUN" == "true" ]]; then
echo "Files that would be synced:"
rsync -avn --exclude '.git' --exclude 'target' --exclude 'node_modules' \
--exclude 'dist' --exclude 'web/dist' --exclude '*.iso' \
--exclude 'image-recipe/_archived/build' --exclude 'image-recipe/_archived/results' \
--exclude '.codex-target-*' --exclude '.codex-tmp' \
"$PROJECT_DIR/" "$TARGET_HOST:$TARGET_DIR/" 2>/dev/null | \
grep -E '^[<>]|^deleting' | head -50 || echo " (rsync check failed — SSH may be unavailable)"
@@ -551,6 +552,8 @@ rsync -avz --delete \
--exclude '.codex-tmp' \
--exclude 'image-recipe/build' \
--exclude 'image-recipe/results' \
--exclude 'image-recipe/_archived/build' \
--exclude 'image-recipe/_archived/results' \
"$PROJECT_DIR/" "$TARGET_HOST:$TARGET_DIR/"
section_end