Skip to content

sachnun/hugging-repo

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hugging-repo

GitHub action to sync your repository to Hugging Face spaces, models, or datasets.

🚀 Pure Bash Implementation - No Python dependencies required!

Usage

Add your Hugging Face token as a GitHub Secret (e.g., HF_TOKEN):

name: Deploy to huggingface

on:
  push:
    branches: [main]

jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - uses: sachnun/hugging-repo@v1
        with:
          hf_token: ${{ secrets.HF_TOKEN }}
          # hf_repo: 'my-repo'     # Optional, defaults to GitHub repo name
          # repo_type: 'space'     # Optional: space, model, or dataset (default: space)
          # space_sdk: 'gradio'    # Optional: gradio, streamlit, static, or docker (auto-detects docker if Dockerfile exists)
          # private: false         # Optional: create as private repo

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

GitHub Action to sync your repository to Hugging Face repository.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%