diff --git a/scripts/deploy-tailscale.sh b/scripts/deploy-tailscale.sh index 3098bcee..4f0d1848 100755 --- a/scripts/deploy-tailscale.sh +++ b/scripts/deploy-tailscale.sh @@ -148,6 +148,7 @@ deploy_node() { rsync -az --delete \ --exclude='.git' --exclude='node_modules' --exclude='target/debug' \ --exclude='.codex-target-*' --exclude='.codex-tmp' \ + --exclude='image-recipe/_archived/build' --exclude='image-recipe/_archived/results' \ --exclude='target/release/deps' --exclude='target/release/build' \ --exclude='target/release/.fingerprint' --exclude='target/release/incremental' \ --exclude='web/dist' --exclude='.DS_Store' --exclude='image-recipe/build' \ diff --git a/scripts/deploy-to-target.sh b/scripts/deploy-to-target.sh index 306a80de..96e17ce4 100755 --- a/scripts/deploy-to-target.sh +++ b/scripts/deploy-to-target.sh @@ -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