build(deps-dev): bump pytest-cov from 5.0.0 to 6.0.0 (#787) #471
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish documentation | |
on: | |
push: | |
branches: ["master"] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.x' | |
- name: Install Dependencies | |
run: | | |
python -m pip install -U pip poetry | |
poetry --version | |
poetry config --local virtualenvs.in-project true | |
poetry install --only docs | |
- name: Build docs | |
run: | | |
poetry run mkdocs build | |
- name: Push doc to Github Page | |
uses: peaceiris/actions-gh-pages@v4 | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
PUBLISH_BRANCH: gh-pages | |
PUBLISH_DIR: ./site |