edjx22 commited on
Commit
9df1061
·
unverified ·
1 Parent(s): 7b7a7d0

Update main.yml

Browse files
Files changed (1) hide show
  1. .github/workflows/main.yml +6 -3
.github/workflows/main.yml CHANGED
@@ -14,11 +14,14 @@ jobs:
14
  lfs: true
15
 
16
  - name: Pull latest changes
17
- run: git pull # Pull latest changes from remote before pushing
18
 
19
- - name: Push to hub
20
  env:
21
  HF_TOKEN: ${{ secrets.token }}
22
- run: git push https://j565xu:$HF_TOKEN@huggingface.co/spaces/j565xu/test main
 
 
 
23
 
24
 
 
14
  lfs: true
15
 
16
  - name: Pull latest changes
17
+ run: git pull origin main # Pull latest changes from remote before pushing
18
 
19
+ - name: Force push to hub
20
  env:
21
  HF_TOKEN: ${{ secrets.token }}
22
+ run: git push --force https://j565xu:$HF_TOKEN@huggingface.co/spaces/j565xu/test main
23
+
24
+ - name: Check status after pull
25
+ run: git status
26
 
27