Skip to content

Build docs

Build docs #10

Workflow file for this run

name: Build docs
on:
release:
types: [published]
workflow_dispatch:
jobs:
build:
strategy:
matrix:
python-version: [ "3.10" ]
os: [ ubuntu-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- 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