Spaces:
Sleeping
Sleeping
ads
Browse files
.github/workflows/deploy.yml
CHANGED
@@ -40,10 +40,8 @@ jobs:
|
|
40 |
- name: Fetch and reset to main
|
41 |
run: |
|
42 |
git fetch huggingface
|
43 |
-
git reset --hard
|
44 |
-
|
45 |
- name: Push to Hugging Face Hub
|
46 |
run: |
|
47 |
-
git add .
|
48 |
-
git commit -m "Deploy to Hugging Face Spaces" || true
|
49 |
git push huggingface main --force
|
|
|
40 |
- name: Fetch and reset to main
|
41 |
run: |
|
42 |
git fetch huggingface
|
43 |
+
git reset --hard origin/main
|
44 |
+
|
45 |
- name: Push to Hugging Face Hub
|
46 |
run: |
|
|
|
|
|
47 |
git push huggingface main --force
|