Spaces:
Paused
Paused
Download .github/workflows/huggingface-sync.yml from DatazoneAI/Smart-Search: direct link, hf CLI and curl.
- Browser
- Download file 587 Bytes
-
https://huggingface.co/spaces/DatazoneAI/Smart-Search/resolve/main/.github/workflows/huggingface-sync.yml
- Command line
-
hf download hf://spaces/DatazoneAI/Smart-Search/.github/workflows/huggingface-sync.yml
-
curl -L -o huggingface-sync.yml https://huggingface.co/spaces/DatazoneAI/Smart-Search/resolve/main/.github/workflows/huggingface-sync.yml
587 Bytes
| name: Sync to Hugging Face Spaces | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| sync: | |
| name: Sync | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v4 | |
| with: | |
| lfs: true | |
| - name: Sync to Hugging Face Spaces | |
| 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: "hf-space-config.yml" | |