Spaces:
Sleeping
Sleeping
Commit ·
819c0aa
1
Parent(s): caf8fd3
Cleanup
Browse files- .github/workflows/deploy-to-hf.yml +7 -6
- .gitignore +2 -1
- test.md +0 -1
.github/workflows/deploy-to-hf.yml
CHANGED
|
@@ -8,14 +8,15 @@ jobs:
|
|
| 8 |
deploy:
|
| 9 |
runs-on: ubuntu-latest
|
| 10 |
steps:
|
| 11 |
-
- name: Clone GitHub repo
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
run: |
|
| 13 |
-
git clone https://github.com/Karthik80-hub/LLM-Comparison-Hub.git repo
|
| 14 |
-
cd repo
|
| 15 |
git config user.name "Karthik80-hub"
|
| 16 |
git config user.email "chunchukarthik200@gmail.com"
|
| 17 |
-
git remote remove hf || true
|
| 18 |
git remote add hf https://huggingface:$HF_TOKEN@huggingface.co/spaces/chunchu-08/LLM-Comparison-Hub
|
| 19 |
git push --force hf main
|
| 20 |
-
env:
|
| 21 |
-
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
|
|
|
| 8 |
deploy:
|
| 9 |
runs-on: ubuntu-latest
|
| 10 |
steps:
|
| 11 |
+
- name: Clone GitHub repo
|
| 12 |
+
run: git clone https://github.com/Karthik80-hub/LLM-Comparison-Hub.git repo
|
| 13 |
+
|
| 14 |
+
- name: Configure and Push to Hugging Face
|
| 15 |
+
working-directory: repo
|
| 16 |
+
env:
|
| 17 |
+
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
| 18 |
run: |
|
|
|
|
|
|
|
| 19 |
git config user.name "Karthik80-hub"
|
| 20 |
git config user.email "chunchukarthik200@gmail.com"
|
|
|
|
| 21 |
git remote add hf https://huggingface:$HF_TOKEN@huggingface.co/spaces/chunchu-08/LLM-Comparison-Hub
|
| 22 |
git push --force hf main
|
|
|
|
|
|
.gitignore
CHANGED
|
@@ -107,4 +107,5 @@ flagged/
|
|
| 107 |
|
| 108 |
# Search results and cached data
|
| 109 |
search_cache/
|
| 110 |
-
cache/
|
|
|
|
|
|
| 107 |
|
| 108 |
# Search results and cached data
|
| 109 |
search_cache/
|
| 110 |
+
cache/
|
| 111 |
+
repo/
|
test.md
DELETED
|
@@ -1 +0,0 @@
|
|
| 1 |
-
"# test"
|
|
|
|
|
|