0.4.4 #84
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Sphinx docs to gh-pages" | |
on: | |
push: | |
branches: | |
- main | |
- master | |
- staging/* | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v1 | |
with: | |
python-version: '3.8' | |
architecture: x64 | |
- name: Get dependencies | |
run: sudo apt-get install portaudio19-dev | |
- name: Install Nox | |
run: pip install nox==2023.04.22 | |
- name: Install Poetry | |
run: pip install poetry==1.1.9 | |
- name: Build docs | |
run: nox -s docs | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./docs/_build |