File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change 15
15
fetch-depth : 0
16
16
lfs : true
17
17
18
+ - name : Setup Git LFS
19
+ run : |
20
+ git lfs install
21
+ git lfs track "*.gif"
22
+
18
23
- name : Pull LFS files
19
24
run : git lfs pull
20
25
26
+ - name : Configure Git
27
+ run : |
28
+ git config --global user.email "github-actions[bot]@users.noreply.github.com"
29
+ git config --global user.name "github-actions[bot]"
30
+
21
31
- name : Login to Hugging Face
22
32
run : |
23
33
pip install --upgrade huggingface_hub
27
37
env :
28
38
HF_TOKEN : ${{ secrets.HF_TOKEN }}
29
39
run : |
30
- git lfs push --all https://Prgrmmer:$HF_TOKEN@huggingface.co/spaces/Prgrmmer/ai-dungeon
40
+ git add .gitattributes
41
+ git commit -m "Update LFS tracking" || true
42
+ git lfs push --all origin main
31
43
git push https://Prgrmmer:$HF_TOKEN@huggingface.co/spaces/Prgrmmer/ai-dungeon main
You can’t perform that action at this time.
0 commit comments