Spaces:
Running
Running
Commit ·
54d6574
1
Parent(s): 130c740
Update workflow to try and test force lfs for git push
Browse files
.github/workflows/space.yml
CHANGED
|
@@ -14,6 +14,12 @@ 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 |
+
- name: Configure Git LFS
|
| 18 |
+
run: |
|
| 19 |
+
git lfs install
|
| 20 |
+
git config --global lfs.https://huggingface.co.git.lfs true
|
| 21 |
+
git lfs fetch --all
|
| 22 |
+
git lfs pull
|
| 23 |
- name: Push to hub
|
| 24 |
env:
|
| 25 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|