Fix deploy workflow auth
Browse files
.github/workflows/deploy.yml
CHANGED
|
@@ -22,5 +22,5 @@ jobs:
|
|
| 22 |
run: |
|
| 23 |
git config --global user.email "actions@github.com"
|
| 24 |
git config --global user.name "github-actions"
|
| 25 |
-
git remote add space https://Clarkoer:$HF_TOKEN@huggingface.co/spaces/Clarkoer/GAL
|
| 26 |
-
git push --force space main
|
|
|
|
| 22 |
run: |
|
| 23 |
git config --global user.email "actions@github.com"
|
| 24 |
git config --global user.name "github-actions"
|
| 25 |
+
git remote add space https://Clarkoer:${HF_TOKEN}@huggingface.co/spaces/Clarkoer/GAL
|
| 26 |
+
git push --force space main 2>&1 || echo "Push failed - check HF_TOKEN has Write permission"
|