Update hf deploy#29
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the GitHub Actions workflow that deploys this repo to the Hugging Face Space by creating an isolated deploy branch and excluding non-deployable content (notably assets/).
Changes:
- Simplifies the workflow name/trigger configuration and checkout settings.
- Builds a Hugging Face–specific
README.mdduring CI. - Creates and force-pushes an orphan
hf-deploybranch to the Space’smainbranch, after removingassets/.
caviri
approved these changes
Apr 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request updates the GitHub Actions workflow for deploying to Hugging Face Spaces. The main improvements focus on cleaning up the deployment process, ensuring that assets are excluded, and making the deployment branch more isolated and reproducible.
Workflow and deployment process improvements:
hf-deploybranch for deployment, ensuring that only the necessary files are included and that theassetsfolder is fully excluded from the Hugging Face deployment. [1] [2]hf-deploybranch to the Hugging Face Space, rather than pushing directly frommain, providing a cleaner separation between source and deployable code.README.mdare streamlined, and the process for committing and pushing is made more robust. [1] [2]