huggingface/Sync GitHub to Hugging Face Hub
Sync a GitHub repository to the Hugging Face Hub using the hf CLI
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github_repo_id | GitHub repository ID (owner/repo) | yes | — |
| subdirectory | Subdirectory to sync (optional, defaults to root) | no | "" |
| huggingface_repo_id | Hugging Face repository ID (owner/repo) | yes | — |
| hf_token | Hugging Face API token | yes | — |
| repo_type | Repository type (model, dataset, or space) | no | space |
| space_sdk | Space SDK (gradio, streamlit, docker, or static) - only used when repo_type is space | no | gradio |
| private | Whether the repository should be private | no | false |
| hf_version | hf CLI package version to pin. Leave unset to install the latest published version. | no | — |
Outputs
no outputs