Skip to content

Merge pull request #457 from odudex/docs_update #77

Merge pull request #457 from odudex/docs_update

Merge pull request #457 from odudex/docs_update #77

Workflow file for this run

name: Docs
on:
push:
branches:
- main
jobs:
build-gh-pages:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install poetry
- name: Install docs dependencies
run: poetry install --extras docs
- name: Build docs
run: poetry run mkdocs build
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public