Spaces:
Paused
Paused
Selcan Yukcu commited on
Commit ·
c772733
1
Parent(s): d255229
feat: update deployment workflow to sync with Hugging Face Hub
Browse files- .github/workflows/deploy.yml +11 -12
.github/workflows/deploy.yml
CHANGED
|
@@ -1,20 +1,19 @@
|
|
| 1 |
-
name:
|
| 2 |
|
| 3 |
on:
|
| 4 |
push:
|
| 5 |
branches:
|
| 6 |
-
- main
|
| 7 |
|
| 8 |
jobs:
|
| 9 |
-
|
| 10 |
runs-on: ubuntu-latest
|
| 11 |
steps:
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
git push https://huggingface_hub:${{ secrets.HF_TOKEN }}@huggingface.co/${{ secrets.HF_SPACE_ID }} HEAD:main --force
|
|
|
|
| 1 |
+
name: Sync with Hugging Face Hub
|
| 2 |
|
| 3 |
on:
|
| 4 |
push:
|
| 5 |
branches:
|
| 6 |
+
- main
|
| 7 |
|
| 8 |
jobs:
|
| 9 |
+
build:
|
| 10 |
runs-on: ubuntu-latest
|
| 11 |
steps:
|
| 12 |
+
- name: Sync with Hugging Face
|
| 13 |
+
uses: nateraw/huggingface-sync-action@v0.0.4
|
| 14 |
+
with:
|
| 15 |
+
github_repo_id: lokumai/defect_solver_mcp_server
|
| 16 |
+
huggingface_repo_id: dnext/ds-mcp-server
|
| 17 |
+
repo_type: space
|
| 18 |
+
space_sdk: gradio
|
| 19 |
+
hf_token: ${{ secrets.HF_TOKEN }}
|
|
|