mirror of
https://github.com/univention/univention-corporate-server.git
synced 2025-10-26 11:17:13 +00:00
ci(doc): Allow linkcheck to fail
Changed the linkcheck job to interpret warnings as errors so that we see when links break. The job then doesn't fail and the pipeline continues, but it issues a warning in GitLab and makes the warning transparent. Bug #57056
This commit is contained in:
parent
9e0f1f1391
commit
ae4a33c819
@ -47,7 +47,8 @@ stages:
|
||||
- .sphinx-doc
|
||||
- .sphinx-linkcheck-template
|
||||
script:
|
||||
- make -C "$DOCS_DIR" -e FORCE_COLOR="TRUE" -e SPHINXOPTS="-v -D language='$language'" -e BUILDDIR="_build/$language" linkcheck
|
||||
- make -C "$DOCS_DIR" -e FORCE_COLOR="TRUE" -e SPHINXOPTS="-v -W --keep-going -D language='$language'" -e BUILDDIR="_build/$language" linkcheck
|
||||
allow_failure: true
|
||||
artifacts:
|
||||
paths:
|
||||
- $CI_PROJECT_DIR/$DOCS_DIR/_build/$language/linkcheck
|
||||
|
||||
Loading…
Reference in New Issue
Block a user