Skip to content

Commit adee8b9

Browse files
committed
update synch to spaces workflow
1 parent 5f2d12f commit adee8b9

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/sync-to-hugging-face-hub.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ jobs:
1515
fetch-depth: 0
1616
lfs: true
1717

18+
- name: Pull LFS files
19+
run: git lfs pull
20+
1821
- name: Login to Hugging Face
1922
run: |
2023
pip install --upgrade huggingface_hub
@@ -23,4 +26,6 @@ jobs:
2326
- name: Push to hub
2427
env:
2528
HF_TOKEN: ${{ secrets.HF_TOKEN }}
26-
run: git push https://Prgrmmer:$HF_TOKEN@huggingface.co/spaces/Prgrmmer/ai-dungeon main
29+
run: |
30+
git lfs push --all https://Prgrmmer:$HF_TOKEN@huggingface.co/spaces/Prgrmmer/ai-dungeon
31+
git push https://Prgrmmer:$HF_TOKEN@huggingface.co/spaces/Prgrmmer/ai-dungeon main

0 commit comments

Comments
 (0)