Spaces:
Running
Running
Rachit-Mangawa commited on
Commit ·
45ac092
1
Parent(s): b6cb752
refactor(deploy): use direct git push to bypass sync action API bug
Browse files
.github/workflows/sync.yml
CHANGED
|
@@ -12,11 +12,11 @@ jobs:
|
|
| 12 |
uses: actions/checkout@v3
|
| 13 |
with:
|
| 14 |
fetch-depth: 0
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
|
|
|
| 12 |
uses: actions/checkout@v3
|
| 13 |
with:
|
| 14 |
fetch-depth: 0
|
| 15 |
+
lfs: true
|
| 16 |
+
|
| 17 |
+
- name: Push to Hugging Face
|
| 18 |
+
env:
|
| 19 |
+
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
| 20 |
+
HF_REPO_ID: ${{ secrets.HF_REPO_ID }}
|
| 21 |
+
run: |
|
| 22 |
+
git push --force https://IDKHowToCodeFR:$HF_TOKEN@huggingface.co/spaces/$HF_REPO_ID main
|