Skip to content

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

ci(pre-commit.ci): autoupdate

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

Workflow file for this run

name: docs
on:
push:
branches: [main]
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.x
- run: pip install -e .[docs]
- run: mkdocs build --strict
deploy:
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.x
- run: pip install -e .[docs]
- run: mkdocs gh-deploy --force