Spaces:
Paused
Paused
Download .github/workflows/ci.yml from AdeBagusSumantri/Sc: direct link, hf CLI and curl.
- Browser
- Download file 553 Bytes
-
https://huggingface.co/spaces/AdeBagusSumantri/Sc/resolve/main/.github/workflows/ci.yml
- Command line
-
hf download hf://spaces/AdeBagusSumantri/Sc/.github/workflows/ci.yml
-
curl -L -o ci.yml https://huggingface.co/spaces/AdeBagusSumantri/Sc/resolve/main/.github/workflows/ci.yml
553 Bytes
| name: Sync to HuggingFace Spaces | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| sync-to-hf: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.11' | |
| - name: Install huggingface_hub | |
| run: pip install huggingface_hub | |
| - name: Push to HuggingFace Spaces | |
| env: | |
| HF_TOKEN: ${{ secrets.HF_TOKEN }} | |
| run: python sync_hf.py | |