Skip to content

Commit f8235e4

Browse files
committed
Add docfx verification to build
1 parent 110da23 commit f8235e4

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name: CI
33
on:
44
push:
55
branches:
6-
- main
7-
- validate/*
6+
- main
7+
- validate/*
88
pull_request:
99

1010
env:
@@ -51,6 +51,9 @@ jobs:
5151
run: dotnet format --verify-no-changes --no-restore
5252
shell: pwsh
5353
if: runner.os == 'Linux'
54+
- name: 📚 Verify docfx build
55+
run: dotnet docfx docfx/docfx.json --warningsAsErrors --disableGitFeatures
56+
if: runner.os == 'Linux'
5457
- name: ⚙ Update pipeline variables based on build outputs
5558
run: azure-pipelines/variables/_pipelines.ps1
5659
shell: pwsh

0 commit comments

Comments
 (0)