Spaces:
Running
Running
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
|
|
|
28 |
|
29 |
-
- name: Push to
|
30 |
env:
|
31 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
32 |
run: |
|
33 |
-
git push
|
|
|
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
|