Spaces:
Sleeping
Sleeping
Fix sync.yml
Browse files
sync.yaml
DELETED
@@ -1,17 +0,0 @@
|
|
1 |
-
name: Sync to Hugging Face hub
|
2 |
-
on:
|
3 |
-
push:
|
4 |
-
branches: [main]
|
5 |
-
|
6 |
-
jobs:
|
7 |
-
sync-to-hub:
|
8 |
-
runs-on: ubuntu-latest
|
9 |
-
steps:
|
10 |
-
- uses: actions/checkout@v3
|
11 |
-
- name: Push to hub
|
12 |
-
env:
|
13 |
-
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
14 |
-
run: |
|
15 |
-
git config --global user.email "[email protected]"
|
16 |
-
git config --global user.name "GitHub Actions"
|
17 |
-
git push https://YOUR_USERNAME:[email protected]/spaces/YOUR_USERNAME/PROJECT_NAME main
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|