Nikhil Komakula commited on
Commit
51952cc
·
1 Parent(s): 6c8b3c6

Update main.yml - v2.1

Browse files
Files changed (1) hide show
  1. .github/workflows/main.yml +11 -0
.github/workflows/main.yml CHANGED
@@ -16,6 +16,17 @@ jobs:
16
  fetch-depth: 0
17
  lfs: true
18
 
 
 
 
 
 
 
 
 
 
 
 
19
  - name: Add remote
20
  env:
21
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
 
16
  fetch-depth: 0
17
  lfs: true
18
 
19
+ - name: Reset commit
20
+ run: |
21
+ git filter-branch --force --index-filter 'git rm --cached --ignore-unmatch "data/9.0 administrators_guide.pdf" "indexes/chroma.sqlite3"' --prune-empty --tag-name-filter cat -- --all
22
+
23
+ - name: LFS Track
24
+ run: |
25
+ git lfs track "data/9.0 administrators_guide.pdf" "indexes/chroma.sqlite3"
26
+
27
+ - name: Checkout LFS objects
28
+ run: git lfs checkout
29
+
30
  - name: Add remote
31
  env:
32
  HF_TOKEN: ${{ secrets.HF_TOKEN }}