Skip to content

tiny

tiny #9

Workflow file for this run

name: deploy_docs
on:
push:
branches:
- '**'
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -e .
- name: Build and test docs
run: |
if [ ${{ github.ref }} == "refs/heads/main" ]; then
mkdocs gh-deploy --force
else
mkdocs build --strict
fi
shell: bash