mirageco commited on
Commit
d3af653
·
1 Parent(s): 12db4de

Fix Action: Sync to huggingface space

Browse files
Files changed (1) hide show
  1. .github/workflows/main.yml +4 -4
.github/workflows/main.yml CHANGED
@@ -19,10 +19,10 @@ jobs:
19
  git config --global user.email "leyradc@gmail.com"
20
  git config --global user.name "Colin Lin"
21
  git config pull.rebase false
22
- - name: Pull latest changes from remote
23
- env:
24
- HF_TOKEN: ${{ secrets.HF_TOKEN }}
25
- run: git pull https://jiminHuang:$HF_TOKEN@huggingface.co/spaces/TheFinAI/Open-Financial-LLM-Leaderboard main
26
  - name: Push to hub
27
  env:
28
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
 
19
  git config --global user.email "leyradc@gmail.com"
20
  git config --global user.name "Colin Lin"
21
  git config pull.rebase false
22
+
23
+ - name: Ignore large files
24
+ run : git filter-branch --index-filter 'git rm -rf --cached --ignore-unmatch "frontend/public/*.png"' HEAD
25
+
26
  - name: Push to hub
27
  env:
28
  HF_TOKEN: ${{ secrets.HF_TOKEN }}