Spaces:
Running
Running
| name: On Push To Main | |
| on: | |
| push: | |
| branches: ["main"] | |
| jobs: | |
| sync-to-hf: | |
| name: Sync to HuggingFace Spaces | |
| runs-on: ubuntu-latest | |
| environment: hugging-face | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: JacobLinCool/huggingface-sync@v1 | |
| with: | |
| github: ${{ secrets.GITHUB_TOKEN }} | |
| user: ${{ vars.HF_SPACE_OWNER }} | |
| space: ${{ vars.HF_SPACE_NAME }} | |
| token: ${{ secrets.HF_TOKEN }} | |
| configuration: ".github/hf-space-config.yml" | |