Spaces:
Running
Running
Download .github/workflows/sync_to_hf_space.yml from EsoCode/hf-llm-api: direct link, hf CLI and curl.
- Browser
- Download file 419 Bytes
-
https://huggingface.co/spaces/EsoCode/hf-llm-api/resolve/main/.github/workflows/sync_to_hf_space.yml
- Command line
-
hf download hf://spaces/EsoCode/hf-llm-api/.github/workflows/sync_to_hf_space.yml
-
curl -L -o sync_to_hf_space.yml https://huggingface.co/spaces/EsoCode/hf-llm-api/resolve/main/.github/workflows/sync_to_hf_space.yml
419 Bytes
| name: Sync to Hugging Face hub | |
| on: | |
| push: | |
| branches: [main] | |
| 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_TOKEN: ${{ secrets.HF_TOKEN }} | |
| run: git push -f https://Hansimov:$HF_TOKEN@huggingface.co/spaces/Hansimov/hf-llm-api main |