Add IDF-weighted concept scoring and open links in new tabs #16
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: Deploy to HuggingFace Spaces | |
| on: | |
| push: | |
| branches: [master, main] | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| if: vars.HF_SPACE_ID != '' | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| lfs: true | |
| - name: Push to HuggingFace Space | |
| env: | |
| HF_TOKEN: ${{ secrets.HF_TOKEN }} | |
| HF_SPACE_ID: ${{ vars.HF_SPACE_ID }} | |
| run: | | |
| git remote add space https://oauth2:$HF_TOKEN@huggingface.co/spaces/$HF_SPACE_ID | |
| git push --force space HEAD:main |