Skip to content

Bump codecov/codecov-action (#87) #301

Bump codecov/codecov-action (#87)

Bump codecov/codecov-action (#87) #301

Workflow file for this run

name: Documentation Build
on:
push:
branches:
- main
pull_request:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
cache-dependency-path: setup.py
- run: |
python -m pip install --upgrade pip
python3 -m pip install -e .[docs]
- name: Build Docs
run: mkdocs build -f docs/mkdocs.yml
- name: Deploy Docs
if: ${{ github.event_name == 'push' }}
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/site