Skip to content

ci: Add build docs job to prevent pushing broken docs to main. #1

ci: Add build docs job to prevent pushing broken docs to main.

ci: Add build docs job to prevent pushing broken docs to main. #1

Workflow file for this run

name: Try building the documentation to prevent cross-reference issues
on:
pull_request:
jobs:
try-build-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install project dependencies
run: python3 -m pip install --user -r docs/requirements.txt
- name: Try building the documentation
run: mkdocs build