Spaces:
Sleeping
Sleeping
[fix]: sync to hfspaces
Browse files
.github/workflows/sync_ahf.yaml
CHANGED
|
@@ -25,12 +25,7 @@ jobs:
|
|
| 25 |
git config --global user.email "$EMAIL_USER"
|
| 26 |
git config --global user.name "tph-kds"
|
| 27 |
|
| 28 |
-
- name:
|
| 29 |
run: |
|
| 30 |
git remote add hf https://$HF_USERNAME:$HF_TOKEN@huggingface.co/spaces/$HF_USERNAME/$SPACE_NAME || true
|
| 31 |
-
git
|
| 32 |
-
git merge hf/main --allow-unrelated-histories --no-edit || true
|
| 33 |
-
|
| 34 |
-
- name: Push to Hugging Face Space
|
| 35 |
-
run: |
|
| 36 |
-
git push hf main
|
|
|
|
| 25 |
git config --global user.email "$EMAIL_USER"
|
| 26 |
git config --global user.name "tph-kds"
|
| 27 |
|
| 28 |
+
- name: Force push to Hugging Face Space
|
| 29 |
run: |
|
| 30 |
git remote add hf https://$HF_USERNAME:$HF_TOKEN@huggingface.co/spaces/$HF_USERNAME/$SPACE_NAME || true
|
| 31 |
+
git push hf main --force
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|