Spaces:
Sleeping
Sleeping
new commit
Browse files
.github/workflows/deploy.yml
CHANGED
|
@@ -15,6 +15,8 @@ jobs:
|
|
| 15 |
env:
|
| 16 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
| 17 |
run: |
|
| 18 |
-
git
|
| 19 |
-
git
|
|
|
|
|
|
|
| 20 |
git push hf main --force
|
|
|
|
| 15 |
env:
|
| 16 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
| 17 |
run: |
|
| 18 |
+
git config --global user.email "action@github.com"
|
| 19 |
+
git config --global user.name "GitHub Action"
|
| 20 |
+
git remote remove hf || true # Good practice to ensure a clean state
|
| 21 |
+
git remote add hf https://user:${HF_TOKEN}@huggingface.co/spaces/Klasta/testing_spaces
|
| 22 |
git push hf main --force
|