[pre-commit.ci] pre-commit autoupdate #418
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: Docs Check | |
on: | |
workflow_call: | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
name: Docs Check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
- name: Run Poetry image | |
uses: abatilo/[email protected] | |
with: | |
poetry-version: "1.3.0" | |
- name: Install requirements | |
run: | | |
poetry install --only docs | |
- name: Build docs | |
run: cd docs; poetry run make html | |
- name: Upload artifact | |
uses: actions/upload-pages-artifact@v1 | |
with: | |
path: ./docs/build/html |