Valentin Buchner commited on
Commit
3472c58
·
1 Parent(s): d20e8b7

reset commits

Browse files
Files changed (1) hide show
  1. .github/workflows/huggingface.yml +8 -0
.github/workflows/huggingface.yml CHANGED
@@ -13,6 +13,14 @@ jobs:
13
  with:
14
  fetch-depth: 0
15
  lfs: true
 
 
 
 
 
 
 
 
16
  - name: Push to hub
17
  env:
18
  HF_TOKEN: ${{ secrets.HUGGINGFACE }}
 
13
  with:
14
  fetch-depth: 0
15
  lfs: true
16
+ - name: LFS Install
17
+ run: git lfs install
18
+ - name: LFS Track
19
+ run: git lfs track *.jpeg
20
+ - name: reset commit
21
+ run: git filter-branch --force --index-filter "git rm --cached --ignore-unmatch *.jpeg" --prune-empty --tag-name-filter cat -- --all
22
+ - name: Checkout LFS objects
23
+ run: git lfs checkout
24
  - name: Push to hub
25
  env:
26
  HF_TOKEN: ${{ secrets.HUGGINGFACE }}