Download .github/workflows/hf_sync.yml from RAGnTeX/ragntex: direct link, hf CLI and curl.
- Browser
- Download file 467 Bytes
-
https://huggingface.co/spaces/RAGnTeX/ragntex/resolve/main/.github/workflows/hf_sync.yml
- Command line
-
hf download hf://spaces/RAGnTeX/ragntex/.github/workflows/hf_sync.yml
-
curl -L -o hf_sync.yml https://huggingface.co/spaces/RAGnTeX/ragntex/resolve/main/.github/workflows/hf_sync.yml
467 Bytes
| name: Sync to Hugging Face hub | |
| on: | |
| push: | |
| branches: [main] | |
| # 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: Push to hub | |
| env: | |
| HF_SECRET: ${{ secrets.HF_SECRET }} | |
| run: git push https://eranmi:$HF_SECRET@huggingface.co/spaces/eranmi/RAGnTeX main |