ribesstefano commited on
Commit
fee889a
1 Parent(s): 23477d3

Update huggingface_space_sync.yml

Browse files
.github/workflows/huggingface_space_sync.yml CHANGED
@@ -17,9 +17,9 @@ jobs:
17
  - name: Add Hugging Face remote
18
  run: git remote add hf https://ailab-bio:$HF_TOKEN@huggingface.co/spaces/ailab-bio/PROTAC-Degradation-Predictor
19
 
20
- # Pull changes from Hugging Face before pushing
21
- - name: Pull from Hugging Face
22
- run: git pull hf main --allow-unrelated-histories
23
 
24
  # Push changes to Hugging Face after resolving any conflicts
25
  - name: Push to Hugging Face
 
17
  - name: Add Hugging Face remote
18
  run: git remote add hf https://ailab-bio:$HF_TOKEN@huggingface.co/spaces/ailab-bio/PROTAC-Degradation-Predictor
19
 
20
+ # Pull changes using merge strategy
21
+ - name: Pull from Hugging Face with merge
22
+ run: git pull hf main --no-rebase
23
 
24
  # Push changes to Hugging Face after resolving any conflicts
25
  - name: Push to Hugging Face