Skip to content

Commit ab31b9a

Browse files
committed
Added git rm and add xet step due to weird checkout situation
1 parent 54042e8 commit ab31b9a

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎.github/workflows/hf_sync.yml‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ jobs:
2222
git xet track "*.db"
2323
git xet track "*.png"
2424
git xet track "*.jpg"
25+
- name: Convert binaries to xet
26+
run: |
27+
git rm --cached *
28+
git add *
29+
git add .xetconfig
30+
git commit -m "Track binaries with xet" || echo "No changes to commit"
2531
- name: Push to HuggingFace
2632
env:
2733
HF_TOKEN: ${{ secrets.HF_TOKEN}}

0 commit comments

Comments
 (0)