Skip to content

0.2.1

0.2.1 #184

Workflow file for this run

name: Build and deploy docs
on:
release:
types:
- published
permissions:
contents: write
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Configure Git credentials
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Set cache id
run: |
echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- name: Cache dependencies
uses: actions/cache@v4
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
pip install -r dev/requirements/docs_requirements.txt
- name: Build and deploy docs
run: |
mkdocs gh-deploy -f dev/mkdocs.yaml --force