Spaces:
Runtime error
Runtime error
TONG commited on
Update Hugging Face repository ID in workflow
Browse files
.github/workflows/sync-to-hf.yml
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: Sync to Hugging Face Hub
|
| 2 |
+
on:
|
| 3 |
+
push:
|
| 4 |
+
branches: [main] # Update this if your default branch is 'master'
|
| 5 |
+
|
| 6 |
+
jobs:
|
| 7 |
+
sync:
|
| 8 |
+
runs-on: ubuntu-latest
|
| 9 |
+
steps:
|
| 10 |
+
- uses: actions/checkout@v6
|
| 11 |
+
- uses: huggingface/hub-sync@v0.1.0
|
| 12 |
+
with:
|
| 13 |
+
github_repo_id: ${{ github.repository }}
|
| 14 |
+
huggingface_repo_id: build-small-hackathon/step-zero
|
| 15 |
+
hf_token: ${{ secrets.HF_TOKEN }}
|