Skip to content

Publish documentation #149

Publish documentation

Publish documentation #149

Workflow file for this run

name: Publish documentation
on:
push:
branches: ["master"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install Dependencies
run: |
python -m pip install -U pip poetry
poetry install
- name: Build docs
run: |
poetry run mkdocs build
- name: Push doc to Github Page
uses: peaceiris/actions-gh-pages@v4
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PUBLISH_BRANCH: gh-pages
PUBLISH_DIR: ./site