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

Duck-is-going.yml

Browse files
.github/workflows/Duck-is-going.yml CHANGED
@@ -20,14 +20,15 @@ jobs:
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:$HF_TOKEN@huggingface.co/spaces/Joekd608/Duck-Duck_GO main
 
20
  git config --global user.name "github-actions"
21
  git config --global user.email "[email protected]"
22
 
23
+ - name: Pull latest changes from Hugging Face Hub
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
+ git pull huggingface main --rebase || true
29
 
30
+ - name: Push to Hugging Face Hub
31
  env:
32
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
33
  run: |
34
+ git push huggingface main