Files
wehub-resource-sync 74c850a456
audiocraft_tests / Run tests (push) Has been cancelled
audiocraft_docs / Run docs (push) Has been cancelled
audiocraft_linter / Run linter (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:40:30 +08:00

33 lines
736 B
YAML

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 api_docs
git add -f api_docs
git commit -m api_docs
- name: Push branch
run: |
git push -f -u origin gh-docs