vikenkd commited on
Commit
22332be
·
1 Parent(s): 842e76c

[fix]: sync to hfspaces

Browse files
Files changed (1) hide show
  1. .github/workflows/sync_ahf.yaml +1 -1
.github/workflows/sync_ahf.yaml CHANGED
@@ -23,4 +23,4 @@ jobs:
23
  - name: Push to hub
24
  env:
25
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
26
- run: git push https://$HF_USERNAME:$HF_TOKEN@huggingface.co/spaces/$HF_USERNAME/$SPACE_NAME main
 
23
  - name: Push to hub
24
  env:
25
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
26
+ run: git pull --allow-unrelated-histories && git push https://$HF_USERNAME:$HF_TOKEN@huggingface.co/spaces/$HF_USERNAME/$SPACE_NAME main