Skip to content

ci: run tests and linter on pr (#17) #32

ci: run tests and linter on pr (#17)

ci: run tests and linter on pr (#17) #32

Workflow file for this run

name: Documentation
on:
push:
branches:
- main
jobs:
docs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.12
- name: Setup python environment
run: |
sudo apt install pipx
pipx ensurepath
pipx install poetry
poetry install
- name: Build docs
run: poetry run mkdocs build
- name: Publish docs
run: poetry run mkdocs gh-deploy --force