Skip to content

Commit

Permalink
ci/docs: allow failing linkcheck|doctest for dispatch run (#19634)
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda committed Mar 15, 2024
1 parent 14e98ec commit f030484
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/docs-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ jobs:
run: echo "DOCS_FETCH_ASSETS=1" >> $GITHUB_ENV
- name: Make ${{ matrix.target }}
working-directory: ./docs/source-${{ matrix.pkg-name }}
# allow failing link check and doctest if you run with dispatch
continue-on-error: ${{ (matrix.target == 'doctest' || matrix.target == 'linkcheck') && github.event_name == 'workflow_dispatch' }}
run: make ${{ matrix.target }} --debug --jobs $(nproc) SPHINXOPTS="-W --keep-going"

- name: Keep artifact
Expand Down

0 comments on commit f030484

Please sign in to comment.