fahadcr14 commited on
Commit
86d23f6
·
1 Parent(s): eaed374
Files changed (1) hide show
  1. .github/workflows/main.yml +6 -2
.github/workflows/main.yml CHANGED
@@ -41,5 +41,9 @@ jobs:
41
  env:
42
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
43
 
44
- run:
45
- git push https://fahd9999:[email protected]/spaces/fahd9999/resultprediction main
 
 
 
 
 
41
  env:
42
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
43
 
44
+ run: |
45
+ git pull --rebase https://fahd9999:[email protected]/spaces/fahd9999/resultprediction main || echo "No updates to pull"
46
+ git checkout --theirs .github/workflows/main.yml || echo "No conflicts to resolve"
47
+ git add .github/workflows/main.yml || echo "No conflicts to resolve"
48
+ git rebase --continue || echo "Rebase completed"
49
+ git push https://fahd9999:[email protected]/spaces/fahd9999/resultprediction main