Skip to content

Merge pull request #49 from HiIAmTzeKean/45-exposing-api-for-models #8

Merge pull request #49 from HiIAmTzeKean/45-exposing-api-for-models

Merge pull request #49 from HiIAmTzeKean/45-exposing-api-for-models #8

Workflow file for this run

name: Builds and deploys Python Sphinx documentation
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository content
uses: actions/checkout@v4 # Checkout the repository content to github runner.
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Install dependencies
run: python -m pip install .
shell: bash
- name: Build sphinx
run: sphinx-build -b html docs/source/ docs/build/html/
shell: bash
- name: Deploy to external repos
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{secrets.GITHUB_TOKEN}}
publish_branch: gh-pages
publish_dir: docs/build/html/