Download .github/workflows/sync-hf.yml from RL-MIND/LibContinual: direct link, hf CLI and curl.
- Browser
- Download file 452 Bytes
-
https://huggingface.co/RL-MIND/LibContinual/resolve/main/.github/workflows/sync-hf.yml
- Command line
-
hf download hf://RL-MIND/LibContinual/.github/workflows/sync-hf.yml
-
curl -L -o sync-hf.yml https://huggingface.co/RL-MIND/LibContinual/resolve/main/.github/workflows/sync-hf.yml
452 Bytes
| name: Sync to Hugging Face | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| sync: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Upload to Hugging Face | |
| env: | |
| HF_TOKEN: ${{ secrets.HF_TOKEN }} | |
| run: | | |
| pip install huggingface_hub | |
| hf upload \ | |
| RL-MIND/LibContinual \ | |
| . \ | |
| --repo-type model \ | |
| --commit-message "Sync from GitHub" | |