Download .github/workflows/audiocraft_docs.yml from jonluca/MusicGen: direct link, hf CLI and curl.
- Browser
- Download file 724 Bytes
-
https://huggingface.co/spaces/jonluca/MusicGen/resolve/4388bc6895638c216c3fd79e780e7d9ebbadd0ea/.github/workflows/audiocraft_docs.yml
- Command line
-
hf download hf://spaces/jonluca/MusicGen@4388bc6895638c216c3fd79e780e7d9ebbadd0ea/.github/workflows/audiocraft_docs.yml
-
curl -L -o audiocraft_docs.yml https://huggingface.co/spaces/jonluca/MusicGen/resolve/4388bc6895638c216c3fd79e780e7d9ebbadd0ea/.github/workflows/audiocraft_docs.yml
724 Bytes
| name: audiocraft_docs | |
| on: | |
| push: | |
| branches: [ main ] | |
| jobs: | |
| run_docs: | |
| name: Run docs | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: ./.github/actions/audiocraft_build | |
| - name: Config git | |
| run: | | |
| git config --global user.email "defossez@fb.com" | |
| git config --global user.name "Alexandre Défossez (autodoc)" | |
| - name: Reset branch | |
| run: | | |
| git branch -f gh-docs main | |
| git checkout gh-docs | |
| - name: Make docs | |
| run: | | |
| . env/bin/activate | |
| make docs | |
| git add -f docs | |
| git commit -m docs | |
| - name: Push branch | |
| run: | | |
| git push -f -u origin gh-docs | |