cloudenv / .github /workflows /hf-sync.yml
Vishvam10
initial space commit
b404de3
Raw History Blame Contribute Delete
439 Bytes
name: Sync to Hugging Face Hub
on:
push:
branches:
- main
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Sync to Hugging Face Space
uses: huggingface/hub-sync@v0.1.0
with:
github_repo_id: ${{ github.repository }}
huggingface_repo_id: ninja011003/test-space
hf_token: ${{ secrets.HF_TOKEN }}