Skip to content

Merge pull request #3 from OZGrav/new_models #23

Merge pull request #3 from OZGrav/new_models

Merge pull request #3 from OZGrav/new_models #23

Workflow file for this run

name: Sphinx build
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.10.6 # Replace with your desired Python version
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r docs/requirements.txt
- name: Build documentation
run: |
cd docs
make html
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/_build/html