Skip to content

Build docs

Build docs #9

Workflow file for this run

name: Build docs
on: workflow_dispatch
#on:
# release:
# types: [published]
jobs:
build:
strategy:
matrix:
python-version: [ "3.10" ]
os: [ ubuntu-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install .[docs]
- name: Deploy documentation
run: mkdocs gh-deploy -d https://mjo22.github.io/cryojax