Download .github/workflows/sync-release.yml from ls-ylm/ls: direct link, hf CLI and curl.
- Browser
- Download file 350 Bytes
-
https://huggingface.co/spaces/ls-ylm/ls/resolve/main/.github/workflows/sync-release.yml
- Command line
-
hf download hf://spaces/ls-ylm/ls/.github/workflows/sync-release.yml
-
curl -L -o sync-release.yml https://huggingface.co/spaces/ls-ylm/ls/resolve/main/.github/workflows/sync-release.yml
350 Bytes
| name: Sync Release to Gitee | |
| on: | |
| workflow_dispatch: | |
| jobs: | |
| sync-release-to-gitee: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 120 | |
| env: | |
| GITEE_TOKEN: ${{ secrets.GITEE_TOKEN }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Sync to Gitee | |
| run: | | |
| pip3 install PyGitHub | |
| python3 .github/sync.py |