HF sync: check out without LFS (#2)
Browse files* Path: heading reads 诪讛 谞转专讙诇 讛讬讜诐? instead of 讘诪讛 谞转专讙诇 讛讬讜诐?
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011XVGkAsva3pSS6u4MFvghb
* HF sync: check out without LFS
The image files' LFS contents were never uploaded to GitHub, so checkout
with lfs: true failed and the Space was never updated from GitHub. Check
out the LFS pointers and push them; the Space keeps the image contents it
already has.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011XVGkAsva3pSS6u4MFvghb
---------
Co-authored-by: Claude <noreply@anthropic.com>
.github/workflows/sync-to-hf.yml
CHANGED
|
@@ -11,8 +11,11 @@ jobs:
|
|
| 11 |
- uses: actions/checkout@v4
|
| 12 |
with:
|
| 13 |
fetch-depth: 0
|
| 14 |
-
lfs:
|
| 15 |
- name: Push to Space
|
| 16 |
env:
|
| 17 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
| 18 |
-
run:
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
- uses: actions/checkout@v4
|
| 12 |
with:
|
| 13 |
fetch-depth: 0
|
| 14 |
+
lfs: false
|
| 15 |
- name: Push to Space
|
| 16 |
env:
|
| 17 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
| 18 |
+
run: |
|
| 19 |
+
# The LFS image contents are not on GitHub; the Space already has them.
|
| 20 |
+
git config lfs.allowincompletepush true
|
| 21 |
+
git push --force https://wzender:$HF_TOKEN@huggingface.co/spaces/wzender/mathly main
|