Spaces:
Sleeping
Sleeping
Duck-is-going.yml
Browse files
.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:
|
|
|
|
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
|