Skip to content

ci: add action for publishing the package (#18) #34

ci: add action for publishing the package (#18)

ci: add action for publishing the package (#18) #34

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