Skip to content

Start pages deployment only for this branch #3

Start pages deployment only for this branch

Start pages deployment only for this branch #3

name: Deploy Documentation
on:
push:
branches:
- 'feature/wiki-gh-pages'
tags:
- '**'
jobs:
deploy-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
echo "${HOME}/.local/bin" >> $GITHUB_PATH
- name: Install dependencies with Poetry (including docs group)
run: poetry install --with docs
- name: Deploy docs with mkdocs
run: poetry run mkdocs gh-deploy --config-file docs/mkdocs.yml --clean