Repository navigation
Move binary files to LFS #10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Sync to Hugging Face Space | |
| on: | |
| push: | |
| branches: [main] | |
| # Allows you to run this workflow manually from the Actions tab | |
| workflow_dispatch: | |
| jobs: | |
| sync-to-hub: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| lfs: true | |
| - name: Sync to Hugging Face Space | |
| uses: huggingface/hub-sync@v0.1.0 | |
| with: | |
| github_repo_id: ${{ github.repository }} | |
| huggingface_repo_id: suprit4618/semantic-rag-engine | |
| hf_token: ${{ secrets.HF_TOKEN }} | |
| repo_type: space |