Skip to content

Commit

Permalink
Update docs.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew-S-Rosen authored Jan 13, 2024
1 parent c10e15a commit 76a12c4
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: pip
Expand All @@ -35,7 +35,12 @@ jobs:
pip install .[docs]
- name: Build docs
run: mkdocs build
run: |
if [ "${{ github.event_name }}" == "pull_request" ]; then
mkdocs build --strict
else
mkdocs build
fi
id: build_docs

- name: Rebuild and deploy docs
Expand Down

0 comments on commit 76a12c4

Please sign in to comment.