quanliang commited on
Commit
b72de56
·
1 Parent(s): 2c03b88

new syncing file

Browse files
Files changed (1) hide show
  1. .github/workflows/sync-to-hf.yml +7 -5
.github/workflows/sync-to-hf.yml CHANGED
@@ -10,9 +10,11 @@ jobs:
10
  runs-on: ubuntu-latest
11
  steps:
12
  - uses: actions/checkout@v6
13
- - uses: huggingface/hub-sync@v0.1.0
14
  with:
15
- github_repo_id: ${{ github.repository }}
16
- huggingface_repo_id: AccuratePaperExtraction/MADTOOL
17
- hf_token: ${{ secrets.HF_TOKEN }}
18
- repo_type: space
 
 
 
 
10
  runs-on: ubuntu-latest
11
  steps:
12
  - uses: actions/checkout@v6
 
13
  with:
14
+ fetch-depth: 0
15
+ lfs: true
16
+ - name: Push to HF Space
17
+ env:
18
+ HF_TOKEN: ${{ secrets.HF_TOKEN }}
19
+ run: |
20
+ git push --force https://user:$HF_TOKEN@huggingface.co/spaces/AccuratePaperExtraction/MADTOOL main