Create docs.yaml

This commit is contained in:
Denis-Cosmin Nutiu 2023-06-05 12:43:42 +03:00 committed by GitHub
parent b933aacb9a
commit 9c2335c537
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

24
.github/workflows/docs.yaml vendored Normal file
View file

@ -0,0 +1,24 @@
name: Documentation
on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up latest Python
uses: actions/setup-python@v4
with:
python-version: "*"
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install -e ".[d]"
python -m pip install -r "docs/requirements.txt"
- name: Build documentation
run: sphinx-build -a -b html -W --keep-going docs/ docs/_build