Spaces:
Build error
Build error
Filip
commited on
Commit
·
e7525a2
1
Parent(s):
bf738e5
update
Browse files
.github/workflows/sync-to-hf-space.yml
CHANGED
|
@@ -13,16 +13,15 @@ jobs:
|
|
| 13 |
- name: Checkout repository
|
| 14 |
uses: actions/checkout@v3
|
| 15 |
|
| 16 |
-
- name:
|
| 17 |
run: |
|
| 18 |
-
|
| 19 |
-
|
| 20 |
|
| 21 |
-
- name:
|
| 22 |
env:
|
| 23 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
| 24 |
run: |
|
| 25 |
-
huggingface-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
--commit-message "Auto-sync from GitHub"
|
|
|
|
| 13 |
- name: Checkout repository
|
| 14 |
uses: actions/checkout@v3
|
| 15 |
|
| 16 |
+
- name: Configure Git
|
| 17 |
run: |
|
| 18 |
+
git config --global user.name "github-actions"
|
| 19 |
+
git config --global user.email "[email protected]"
|
| 20 |
|
| 21 |
+
- name: Push to Hugging Face Space
|
| 22 |
env:
|
| 23 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
| 24 |
run: |
|
| 25 |
+
export REPO_URL="https://huggingface.co/spaces/forestav/llm-as-a-judge"
|
| 26 |
+
git remote add hf $REPO_URL
|
| 27 |
+
git push hf HEAD:main --force
|
|
|