Files
MIND/.github/workflows/build_docs.yml
2025-04-23 19:58:07 +02:00

26 lines
647 B
YAML

name: Update and build docs
on:
push:
branches:
- Development
jobs:
update_build:
name: Update API docs and build docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
name: Setup checkout
- uses: actions/setup-python@v4
name: Setup python 3.8
with:
python-version: 3.8
cache: 'pip'
- run: pip install -r requirements.txt -r docs/requirements-docs.txt
name: Install dependencies
- run: python3 docs/generate_api_docs.py
name: Generate API docs
- run: mkdocs gh-deploy --force -f docs/mkdocs.yml
name: Build docs