UdasriHasindu commited on
Commit ·
b3b9fd5
1
Parent(s): 7575b09
fix: action 2
Browse files
.github/workflows/deploy-hf-space.yml
CHANGED
|
@@ -34,7 +34,5 @@ jobs:
|
|
| 34 |
fi
|
| 35 |
|
| 36 |
git remote remove hf 2>/dev/null || true
|
| 37 |
-
git remote add hf "https://huggingface.co/spaces/xplorers/GAIT_API"
|
| 38 |
-
|
| 39 |
-
git -c http.extraheader="Authorization: Bearer ${HF_TOKEN_CLEAN}" \
|
| 40 |
-
push --force hf HEAD:main
|
|
|
|
| 34 |
fi
|
| 35 |
|
| 36 |
git remote remove hf 2>/dev/null || true
|
| 37 |
+
git remote add hf "https://user:${HF_TOKEN_CLEAN}@huggingface.co/spaces/xplorers/GAIT_API"
|
| 38 |
+
git push --force hf HEAD:main
|
|
|
|
|
|