ci: if docs have errors, fail the PR (#2065)

Co-authored-by: Paul Pacheco <paul.pacheco@aa.com>
This commit is contained in:
Paul Pacheco 2020-07-04 06:49:02 -05:00 committed by GitHub
parent a69880a65b
commit d9442911ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,8 +26,8 @@ install:
skip_tags: true
build_script:
- docfx metadata doc\docfx.json
- docfx build doc\docfx.json
- docfx metadata --logLevel Warning --warningsAsErrors doc\docfx.json
- docfx build --logLevel Warning --warningsAsErrors doc\docfx.json
image: Visual Studio 2017