Spaces:
Sleeping
Sleeping
Commit
·
4797a99
1
Parent(s):
53aedf7
Next commit
Browse files
.github/workflows/push_to_hf.yaml
CHANGED
|
@@ -14,6 +14,17 @@ jobs:
|
|
| 14 |
with:
|
| 15 |
fetch-depth: 0
|
| 16 |
lfs: true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
- name: Push to hub
|
| 18 |
env:
|
| 19 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
|
|
|
| 14 |
with:
|
| 15 |
fetch-depth: 0
|
| 16 |
lfs: true
|
| 17 |
+
|
| 18 |
+
- name: Install Git LFS
|
| 19 |
+
run: |
|
| 20 |
+
git lfs install
|
| 21 |
+
git lfs track "*.png"
|
| 22 |
+
git lfs track "*.jpg"
|
| 23 |
+
git lfs track "*.mp4"
|
| 24 |
+
git lfs track "*.pt"
|
| 25 |
+
git add .gitattributes
|
| 26 |
+
git commit -m "Track binaries with LFS" || echo "No changes"
|
| 27 |
+
|
| 28 |
- name: Push to hub
|
| 29 |
env:
|
| 30 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|