Spaces:
Runtime error
Runtime error
Download .github/workflows/HF_sync.yml from EveSa/SummaryProject: direct link, hf CLI and curl.
- Browser
- Download file 472 Bytes
-
https://huggingface.co/spaces/EveSa/SummaryProject/resolve/main/.github/workflows/HF_sync.yml
- Command line
-
hf download hf://spaces/EveSa/SummaryProject/.github/workflows/HF_sync.yml
-
curl -L -o HF_sync.yml https://huggingface.co/spaces/EveSa/SummaryProject/resolve/main/.github/workflows/HF_sync.yml
472 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_TOKEN: ${{ secrets.HF_SECRET }} | |
| run: git push https://EveSa:$HF_TOKEN@huggingface.co/spaces/EveSa/SummaryProject main | |