Erick Cruz commited on
Update sync_to_hf.yml
Browse files
.github/workflows/sync_to_hf.yml
CHANGED
|
@@ -2,7 +2,7 @@ name: Sync to Hugging Face Space
|
|
| 2 |
|
| 3 |
on:
|
| 4 |
push:
|
| 5 |
-
branches: [
|
| 6 |
|
| 7 |
jobs:
|
| 8 |
sync-to-hub:
|
|
@@ -17,4 +17,4 @@ jobs:
|
|
| 17 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
| 18 |
run: |
|
| 19 |
git remote add hf https://Yienvee:$HF_TOKEN@huggingface.co/spaces/Yienvee/RPG-RAG
|
| 20 |
-
git push hf main --force
|
|
|
|
| 2 |
|
| 3 |
on:
|
| 4 |
push:
|
| 5 |
+
branches: [master] # change if your branch is different
|
| 6 |
|
| 7 |
jobs:
|
| 8 |
sync-to-hub:
|
|
|
|
| 17 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
| 18 |
run: |
|
| 19 |
git remote add hf https://Yienvee:$HF_TOKEN@huggingface.co/spaces/Yienvee/RPG-RAG
|
| 20 |
+
git push hf main --force
|