Spaces:
Sleeping
Sleeping
dani-ange
commited on
Update train-deploy.yaml
Browse files
.github/workflows/train-deploy.yaml
CHANGED
@@ -66,6 +66,6 @@ jobs:
|
|
66 |
git config pull.rebase true
|
67 |
|
68 |
# Ensure local repository is up-to-date before pushing
|
69 |
-
git pull --rebase https://huggingface.co/spaces/danielle2003/diabeties
|
70 |
git push https://danielle2003:[email protected]/spaces/danielle2003/diabeties main
|
71 |
|
|
|
66 |
git config pull.rebase true
|
67 |
|
68 |
# Ensure local repository is up-to-date before pushing
|
69 |
+
git pull --rebase https://huggingface.co/spaces/danielle2003/diabeties main || git pull --rebase --allow-unrelated-histories https://huggingface.co/spaces/danielle2003/diabeties main
|
70 |
git push https://danielle2003:[email protected]/spaces/danielle2003/diabeties main
|
71 |
|