mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-12 10:55:20 +02:00
Build docs only for Pull Requests
The check whether the documentation build includes errors or warnings is only necessary as a voter on the PR.
This commit is contained in:
parent
1f28e870fe
commit
613b2ad61d
@ -4,4 +4,4 @@ install:
|
||||
- pip install --user mkdocs mkdocs-material
|
||||
script:
|
||||
- mvn test -B
|
||||
- cd documentation && mkdocs build --clean --verbose --strict
|
||||
- if [[ "${TRAVIS_PULL_REQUEST}" != "false" ]]; then cd documentation && mkdocs build --clean --verbose --strict; fi;
|
||||
|
Loading…
Reference in New Issue
Block a user