Skip to content

using poetry's env

using poetry's env #7

Workflow file for this run

name: Documentation
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install --all-extras
# Additional dependencies for building the docs
cd docs
poetry run pip install -r docs/requirements.txt
- name: Sphinx Build
run: |
poetry run make -C docs html
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/build/html