Spaces:
Build error
Build error
Claude commited on
fix(ci): remplacer action inexistante par git push direct vers HF
Browse fileshuggingface/huggingface-spaces-push n'existe pas.
Utilise git push direct vers https://huggingface.co/spaces/Ma-Ri-Ba-Ku/scriptorium-ai
avec authentification via HF_TOKEN (secret GitHub).
https://claude.ai/code/session_018woyEHc8HG2th7V4ewJ4Kg
.github/workflows/deploy-hf.yml
CHANGED
|
@@ -23,7 +23,10 @@ jobs:
|
|
| 23 |
fetch-depth: 0 # historique complet pour le push HF
|
| 24 |
|
| 25 |
- name: Push to HuggingFace Space
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
fetch-depth: 0 # historique complet pour le push HF
|
| 24 |
|
| 25 |
- name: Push to HuggingFace Space
|
| 26 |
+
env:
|
| 27 |
+
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
| 28 |
+
run: |
|
| 29 |
+
git config user.email "github-actions[bot]@users.noreply.github.com"
|
| 30 |
+
git config user.name "github-actions[bot]"
|
| 31 |
+
git remote add hf https://Ma-Ri-Ba-Ku:${HF_TOKEN}@huggingface.co/spaces/Ma-Ri-Ba-Ku/scriptorium-ai
|
| 32 |
+
git push hf main --force
|