AnnsKhan commited on
Commit
7ae953d
·
1 Parent(s): a803ca2
Files changed (1) hide show
  1. .github/workflows/deploy.yml +2 -4
.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 huggingface/main
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