danielle2003 commited on
Commit
5e24bb7
·
2 Parent(s): fccf5ec be1d0aa
Files changed (2) hide show
  1. .github/workflows/train-deploy.yaml +5 -2
  2. README.md +0 -0
.github/workflows/train-deploy.yaml CHANGED
@@ -62,6 +62,9 @@ jobs:
62
  HF_TOKEN: ${{ secrets.HUGGINGFACE_API_TOKEN }}
63
  run: |
64
  huggingface-cli login --token $HF_TOKEN
65
- git pull
66
- git push https://danielle2003:$HF_TOKEN@huggingface.co/spaces/danielle2003/diabeties-ml main
 
 
 
67
 
 
62
  HF_TOKEN: ${{ secrets.HUGGINGFACE_API_TOKEN }}
63
  run: |
64
  huggingface-cli login --token $HF_TOKEN
65
+ # Set merge strategy to rebase
66
+ git config pull.rebase true
67
+
68
+ # Ensure local repository is up-to-date before pushing
69
+ git push --force https://danielle2003:[email protected]/spaces/danielle2003/diabeties main
70
 
README.md CHANGED
Binary files a/README.md and b/README.md differ