danielle2003 commited on
Commit
0209f54
·
2 Parent(s): 92957ac 84c1d61

Merge branch 'main' of https://github.com/dani-ange/diabetiel-ml

Browse files
Files changed (2) hide show
  1. .github/workflows/train-deploy.yaml +5 -2
  2. README.md +1 -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
@@ -8,3 +8,4 @@ sdk_version: "1.30.0" # Update to your installed version
8
  app_file: app.py # Ensure this file exists
9
  pinned: false
10
  ---
 
 
8
  app_file: app.py # Ensure this file exists
9
  pinned: false
10
  ---
11
+