bsc

Comprehensive codebase and cou...
Log | Files | Refs | README | LICENSE

commit 799c6c8e4f25379ccb144bbdf81d12a1456473d7
parent ee84fc8ef608638d1cd35eabdfcf5f2c86c5750b
Author: Amit Dutta <mail@amit.is-a.dev>
Date:   Sun,  7 Jun 2026 16:36:26 +0530

Enhance sync-to-hf workflow with Git LFS

Updated Git LFS tracking for binary files and adjusted comments for clarity.
Diffstat:
M.github/workflows/sync-to-hf.yml | 11++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/sync-to-hf.yml b/.github/workflows/sync-to-hf.yml @@ -13,7 +13,6 @@ jobs: - name: Checkout Repository uses: actions/checkout@v4 with: - # We don't need fetch-depth: 0 anymore because we are dropping history! fetch-depth: 1 - name: Push Clean History to Hugging Face @@ -34,9 +33,15 @@ jobs: git config user.name "github-actions[bot]" git config user.email "github-actions[bot]@users.noreply.github.com" - # 5. Add only the CURRENT files and make a single fresh commit + # 5. Initialize Git LFS and track binary files so Hugging Face accepts them + git lfs install + git lfs track "*.pdf" + git lfs track "*.docx" + git add .gitattributes + + # 6. Add only the CURRENT files and make a single fresh commit git add . git commit -m "Auto-sync latest raw files to Hugging Face" - # 6. Force push this single commit to Hugging Face, overwriting everything + # 7. Force push this single commit to Hugging Face, overwriting everything git push --force https://notamitgamer:$HF_TOKEN@huggingface.co/datasets/notamitgamer/usercontent main:main
© notamitgamer • Site Built: 2026-07-21 13:58:23 UTC • git-mirror commit: 1037f62 [view raw info]
Originally created with stagit • modified by notamitgamer
Forked from github.com/notamitgamer/git-mirror