Skip to content

Fix unresolved ClassVar attribute error (#919) #387

Fix unresolved ClassVar attribute error (#919)

Fix unresolved ClassVar attribute error (#919) #387

Workflow file for this run

name: Docs
on:
push:
branches:
- main
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/[email protected]
with:
python-version: '3.11'
architecture: 'x64'
- uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
- name: Install dependencies
run: |
pip install -r requirements.txt
- run: |
cp CHANGELOG.md docs
mkdocs build --verbose --clean --strict
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site