Skip to content

ci(pre-commit.ci): autoupdate #1900

ci(pre-commit.ci): autoupdate

ci(pre-commit.ci): autoupdate #1900

Workflow file for this run

name: docs
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches:
- main
pull_request:
jobs:
deploy:
runs-on: macos-13
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install dependencies
run: |
pip install -e .[docs,image]
pip install pyside2
mmcore install
- name: Test docs
if: github.event_name == 'pull_request'
run: mkdocs build --strict
- name: Deploy docs
if: github.ref == 'refs/heads/main'
run: mkdocs gh-deploy --force