vikenkd commited on
Commit
a13ba1d
·
1 Parent(s): e26c60d

[fix]: sync to hfspaces

Browse files
Files changed (1) hide show
  1. .github/workflows/sync_ahf.yaml +2 -2
.github/workflows/sync_ahf.yaml CHANGED
@@ -25,11 +25,11 @@ jobs:
25
  git config --global user.email "$EMAIL_USER"
26
  git config --global user.name "tph-kds"
27
 
28
- - name: Pull remote Hugging Face Space (merge if needed)
29
  run: |
30
  git remote add hf https://$HF_USERNAME:$HF_TOKEN@huggingface.co/spaces/$HF_USERNAME/$SPACE_NAME || true
31
  git fetch hf main || true
32
- git pull hf main --allow-unrelated-histories --no-edit || true
33
 
34
  - name: Push to Hugging Face Space
35
  run: |
 
25
  git config --global user.email "$EMAIL_USER"
26
  git config --global user.name "tph-kds"
27
 
28
+ - name: Prepare remote and pull
29
  run: |
30
  git remote add hf https://$HF_USERNAME:$HF_TOKEN@huggingface.co/spaces/$HF_USERNAME/$SPACE_NAME || true
31
  git fetch hf main || true
32
+ git merge hf/main --allow-unrelated-histories --no-edit || true
33
 
34
  - name: Push to Hugging Face Space
35
  run: |