Skip to content

Update doc building workflow #36

Update doc building workflow

Update doc building workflow #36

Workflow file for this run

name: documentation
on: [push, pull_request, workflow_dispatch]
permissions:
contents: write
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: '3.11'
- name: Install dependencies
run: |
pip install sphinx sphinx_rtd_theme myst_parser furo git+https://github.com/MolecularAI/maize.git nbsphinx
- name: Sphinx build
run: |
sphinx-build docs _build
- name: Create .nojekyll file
run: touch .nojekyll
- name: Deploy to GitHub Pages
run: mkdocs gh-deploy --force