Update entrypoint.sh
Browse files21 unmodified lines2223242526272820 unmodified lines49505152535421 unmodified lines# STEP 1: RESTORE (Try, but continue if bucket empty)# ============================================echo '=== [STEP 1] RESTORING DATA FROM BUCKET ==='if hf sync "$BUCKET" "$SOURCE" --delete --exclude ".npm/*" --exclude ".cache/*" 2>/dev/null; thenecho '=== [STEP 1] RESTORE COMPLETE ==='elseecho '=== [STEP 1] Restore skipped (bucket empty or failed - continuing anyway) ==='20 unmodified linesexit 1fi# Real-time continuous sync with exclusionshf sync "$SOURCE" "$BUCKET" --delete --exclude ".npm/*" --exclude ".cache/*"done21 unmodified lines222324252627282920 unmodified lines50515253545521 unmodified lines# STEP 1: RESTORE (Try, but continue if bucket empty)# ============================================echo '=== [STEP 1] RESTORING DATA FROM BUCKET ==='# यहाँ --exclude को बिना /* के इस्तेमाल किया हैif hf sync "$BUCKET" "$SOURCE" --delete --exclude ".npm/" --exclude ".cache/" 2>/dev/null; thenecho '=== [STEP 1] RESTORE COMPLETE ==='elseecho '=== [STEP 1] Restore skipped (bucket empty or failed - continuing anyway) ==='20 unmodified linesexit 1fi# Real-time continuous sync with direct folder exclusionhf sync "$SOURCE" "$BUCKET" --delete --exclude ".npm/" --exclude ".cache/"done
entrypoint.sh+4-3