Spaces:
Paused
Paused
Selcan Yukcu
commited on
Commit
·
d69b8cf
1
Parent(s):
882bbbb
feat: update deployment workflow to use direct push to Hugging Face Space
Browse files
.github/workflows/deploy.yml
CHANGED
|
@@ -24,6 +24,7 @@ jobs:
|
|
| 24 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
| 25 |
HF_SPACE_ID: ${{ vars.HF_SPACE_ID }}
|
| 26 |
run: |
|
| 27 |
-
git remote add hf
|
| 28 |
-
git
|
| 29 |
-
|
|
|
|
|
|
| 24 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
| 25 |
HF_SPACE_ID: ${{ vars.HF_SPACE_ID }}
|
| 26 |
run: |
|
| 27 |
+
git remote add hf https://huggingface.co/spaces/${{ secrets.HF_SPACE_ID }}
|
| 28 |
+
git push https://huggingface_hub:${{ secrets.HF_TOKEN }}@huggingface.co/spaces/${{ secrets.HF_SPACE_ID }} HEAD:main --force
|
| 29 |
+
|
| 30 |
+
|