Spaces:
Sleeping
Sleeping
fahadcr14
commited on
Commit
·
6a5d78f
1
Parent(s):
f72c6f6
test1
Browse files- .github/workflows/main.yml +13 -3
.github/workflows/main.yml
CHANGED
@@ -41,6 +41,16 @@ jobs:
|
|
41 |
env:
|
42 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
43 |
|
44 |
-
|
45 |
-
|
46 |
-
git
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
env:
|
42 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
43 |
|
44 |
+
run: |
|
45 |
+
# Pull from the remote Hugging Face Space
|
46 |
+
git pull https://fahd9999:[email protected]/spaces/fahd9999/resultprediction main || true
|
47 |
+
|
48 |
+
# If there are conflicts, resolve them automatically
|
49 |
+
git checkout --ours . || true
|
50 |
+
git add . || true
|
51 |
+
|
52 |
+
# Commit resolved conflicts
|
53 |
+
git commit -m "Auto-resolve conflicts in workflow" || true
|
54 |
+
|
55 |
+
# Push the resolved code
|
56 |
+
git push https://fahd9999:[email protected]/spaces/fahd9999/resultprediction main || true
|