Spaces:
Sleeping
Sleeping
[GH Action] Change HF Sync to fetch most recent.
Browse filesSummary: Instead of fetching the entire git history fetch most recent git
version.
Testing:
Ticket:
Reviewers: n/a
.github/workflows/sync_to_hub.yml
CHANGED
|
@@ -11,7 +11,7 @@ jobs:
|
|
| 11 |
steps:
|
| 12 |
- uses: actions/checkout@v3
|
| 13 |
with:
|
| 14 |
-
fetch-depth:
|
| 15 |
lfs: true
|
| 16 |
|
| 17 |
- name: Push to hub
|
|
|
|
| 11 |
steps:
|
| 12 |
- uses: actions/checkout@v3
|
| 13 |
with:
|
| 14 |
+
fetch-depth: 1
|
| 15 |
lfs: true
|
| 16 |
|
| 17 |
- name: Push to hub
|