UnlimitedMusicGen / .github /workflows /audiocraft_docs.yml
Surn's picture
Update audiocraft_docs.yml
a1411f9
raw
history blame
724 Bytes
name: audiocraft_docs
on:
push:
branches: [ main ]
jobs:
run_docs:
name: Run docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/audiocraft_build
- name: Config git
run: |
git config --global user.email "[email protected]"
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