Joekd608 commited on
Commit
19ea459
·
unverified ·
1 Parent(s): cfa7e65

Duck-is-going.yml

Browse files
Files changed (1) hide show
  1. .github/workflows/Duck-is-going.yml +14 -1
.github/workflows/Duck-is-going.yml CHANGED
@@ -14,7 +14,20 @@ jobs:
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 https://Joekd608:[email protected]/spaces/Joekd608/Duck-Duck_GO main
 
 
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: Pull changes from Hugging Face Hub
24
+ env:
25
+ HF_TOKEN: ${{ secrets.HF_TOKEN }}
26
+ run: |
27
+ git pull https://Joekd608:[email protected]/spaces/Joekd608/Duck-Duck_GO main || true
28
+
29
  - name: Push to hub
30
  env:
31
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
32
+ run: |
33
+ git push https://Joekd608:[email protected]/spaces/Joekd608/Duck-Duck_GO main