Skip to content

Commit 4428bda

Browse files
linkdotnetegil
authored andcommitted
feat: WarningsAsError for docfx
1 parent 196fbcc commit 4428bda

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,8 @@ jobs:
227227
working-directory: ./docs/site
228228
run: |
229229
dotnet tool install --global docfx --version 2.74.1
230-
docfx metadata
231-
docfx build
230+
docfx metadata --logLevel error
231+
docfx build --logLevel warning --warningsAsErrors
232232
233233
dependency-review:
234234
runs-on: ubuntu-latest

.github/workflows/docs-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
working-directory: ./docs/site
9494
run: |
9595
dotnet tool install --global docfx --version 2.74.1
96-
docfx metadata
96+
docfx metadata --logLevel error
9797
docfx build
9898
9999
- name: 🛠️ Deploy to GitHub Pages

0 commit comments

Comments
 (0)