Skip to content

Commit

Permalink
Make CI docs builds as strict as local ones
Browse files Browse the repository at this point in the history
  • Loading branch information
ncoghlan committed Nov 15, 2024
1 parent c68325d commit 57d0ed5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docs-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ jobs:
if: github.event.action != 'closed'
with:
docs-folder: "docs/"
pre-build-command: "sphinx-build -b linkcheck . _build"
build-command: "sphinx-build -b dirhtml . _build"
pre-build-command: "sphinx-build -W -b linkcheck . _build"
build-command: "sphinx-build -W -b dirhtml . _build"

- name: Deploy preview
uses: rossjrw/pr-preview-action@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ jobs:
uses: ammaraskar/[email protected]
with:
docs-folder: "docs/"
pre-build-command: "sphinx-build -b linkcheck . _build"
build-command: "sphinx-build -b dirhtml . _build"
pre-build-command: "sphinx-build -W -b linkcheck . _build"
build-command: "sphinx-build -W -b dirhtml . _build"

- name: Deploy main docs
uses: JamesIves/github-pages-deploy-action@v4
Expand Down

0 comments on commit 57d0ed5

Please sign in to comment.