Download .github/workflows/main.yml from IIIACSIC/COCAM: direct link, hf CLI and curl.
- Browser
- Download file 476 Bytes
-
https://huggingface.co/spaces/IIIACSIC/COCAM/resolve/main/.github/workflows/main.yml
- Command line
-
hf download hf://spaces/IIIACSIC/COCAM/.github/workflows/main.yml
-
curl -L -o main.yml https://huggingface.co/spaces/IIIACSIC/COCAM/resolve/main/.github/workflows/main.yml
476 Bytes
| name: Sync to Hugging Face hub | |
| on: | |
| push: | |
| branches: [master] | |
| # 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_TOKEN }} | |
| run: git push https://cerquide:$HF_TOKEN@huggingface.co/spaces/IIIACSIC/COCAM master:main | |