Skip to content

Update build option based on deprecation warning. #26

Update build option based on deprecation warning.

Update build option based on deprecation warning. #26

Workflow file for this run

name: Doc
on: [push, pull_request]
jobs:
build_doc:
name: Build docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- name: Install dev requirements
run: sudo apt install python3-pyaudio
- name: Install doc requirements
run: python -m pip install -r doc/requirements.txt
- name: Local install of module
run: python -m pip install .
- name: Build docs
run: cd doc && make html
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./doc/build/html/
deploy:
needs: build_doc
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy github-pages
id: deployment
uses: actions/deploy-pages@v4