| name: Sync to Hugging Face Space | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| workflow_dispatch: | |
| jobs: | |
| sync: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| lfs: true | |
| - name: Push to Hugging Face | |
| env: | |
| HF_TOKEN: ${{ secrets.HF_TOKEN }} | |
| run: | | |
| git remote add space https://huggingface.co/spaces/syedmohaiminulhoque/agentic-doc-sim-streamlit || true | |
| git push https://StrikingRatio:${HF_TOKEN}@huggingface.co/spaces/syedmohaiminulhoque/agentic-doc-sim-streamlit main --force | |