Skip to content

Update documentation to use mkdocs and publish to GH pages (#458) #18

Update documentation to use mkdocs and publish to GH pages (#458)

Update documentation to use mkdocs and publish to GH pages (#458) #18

Workflow file for this run

name: Build and publish docs
on:
push:
branches:
- main
paths:
- "docs/**"
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.x
- name: Install Poetry
run: |
pip install -U pip
pip install poetry
poetry config virtualenvs.create false
poetry install --with docs
- name: Deploy to GitHub Pages
run: poetry run mkdocs gh-deploy --force