cloud26 commited on
Commit
2d6f925
·
1 Parent(s): f585a15

ci: :green_heart: fix sync_huggingface.yml

Browse files
.github/workflows/sync_huggingface.yml CHANGED
@@ -14,9 +14,10 @@ jobs:
14
  with:
15
  fetch-depth: 0
16
  lfs: true
 
 
17
  - name: Push to hub
18
  env:
19
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
20
  REPO_ID: codedog-ai/edu-assistant
21
- run: git checkout -b main # 是的,我偷懒
22
  run: git push https://HF_USERNAME:$HF_TOKEN@huggingface.co/spaces/$REPO_ID main
 
14
  with:
15
  fetch-depth: 0
16
  lfs: true
17
+ - name: Checkout main
18
+ run: git checkout -b main
19
  - name: Push to hub
20
  env:
21
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
22
  REPO_ID: codedog-ai/edu-assistant
 
23
  run: git push https://HF_USERNAME:$HF_TOKEN@huggingface.co/spaces/$REPO_ID main