Spaces:
Running
Running
Update Duck-is-going.yml
Browse files
.github/workflows/Duck-is-going.yml
CHANGED
@@ -20,12 +20,16 @@ jobs:
|
|
20 |
git config --global user.name "github-actions"
|
21 |
git config --global user.email "[email protected]"
|
22 |
|
23 |
-
- name:
|
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 |
|
30 |
- name: Push to Hugging Face Hub
|
31 |
env:
|
|
|
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: Pull latest changes from Hugging Face
|
30 |
+
run: |
|
31 |
+
git fetch huggingface main
|
32 |
+
git rebase huggingface/main
|
33 |
|
34 |
- name: Push to Hugging Face Hub
|
35 |
env:
|