Skip to content

fix(ci): add fetch-depth and lfs to hf deployment step#18

Open
TimPietrusky wants to merge 1 commit intomainfrom
fix/hf-deployment-shallow-clone
Open

fix(ci): add fetch-depth and lfs to hf deployment step#18
TimPietrusky wants to merge 1 commit intomainfrom
fix/hf-deployment-shallow-clone

Conversation

@TimPietrusky
Copy link
Copy Markdown
Owner

@TimPietrusky TimPietrusky commented Nov 14, 2025

fixes 'shallow update not allowed' error when pushing to hugging face spaces. the deploy-to-hf job needs full git history and lfs support to push successfully. match the configuration used in manual hf-space.yml workflow.


Note

Configure the Hugging Face deploy job’s checkout to use full git history and LFS support to avoid push failures.

Written by Cursor Bugbot for commit db61e48. This will update automatically on new commits. Configure here.

fixes 'shallow update not allowed' error when pushing to hugging face spaces.
the deploy-to-hf job needs full git history and lfs support to push successfully.
match the configuration used in manual hf-space.yml workflow.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant