Joekd608 commited on
Commit
4b868bf
1 Parent(s): 8b12776

Duck-is-going.yml

Browse files
Files changed (1) hide show
  1. .github/workflows/Duck-is-going.yml +2 -23
.github/workflows/Duck-is-going.yml CHANGED
@@ -14,28 +14,7 @@ jobs:
14
  with:
15
  fetch-depth: 0
16
  lfs: true
17
-
18
- - name: Set up Git config
19
- run: |
20
- git config --global user.name "github-actions"
21
- git config --global user.email "[email protected]"
22
-
23
- - name: Add Hugging Face remote
24
- env:
25
- HF_TOKEN: ${{ secrets.HF_TOKEN }}
26
- run: |
27
- git remote add huggingface https://Joekd608:[email protected]/spaces/Joekd608/Duck-Duck_GO || true
28
-
29
- - name: Fetch latest changes from Hugging Face
30
- run: |
31
- git fetch huggingface main
32
-
33
- - name: Merge with Hugging Face main branch (resolve conflicts by favoring remote)
34
- run: |
35
- git merge -X theirs huggingface/main || true
36
-
37
- - name: Push to Hugging Face Hub
38
  env:
39
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
40
- run: |
41
- git push huggingface main
 
14
  with:
15
  fetch-depth: 0
16
  lfs: true
17
+ - name: Push to hub
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
  env:
19
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
20
+ run: git push --force https://Joekd608:[email protected]/spaces/Joekd608/Duck-Duck_GO main