Skip to content

Commit b34cefc

Browse files
committed
Updated docs CI to generate metadata
1 parent be54073 commit b34cefc

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/docs.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,6 @@ jobs:
2424
steps:
2525
- uses: actions/checkout@v2
2626

27-
- name: Setup .NET 5.0
28-
uses: actions/setup-dotnet@v1
29-
with:
30-
dotnet-version: 5.0.x
31-
3227
- name: Setup .NET 6.0
3328
uses: actions/setup-dotnet@v1
3429
with:
@@ -39,12 +34,17 @@ jobs:
3934
with:
4035
args: install docfx
4136

42-
- name: DocFX Build
37+
- name: Generate DocFX metadata
38+
working-directory: docs
39+
run: docfx metadata .\docfx.json
40+
continue-on-error: false
41+
42+
- name: Build DocFX site
4343
working-directory: docs
4444
run: docfx .\docfx.json
4545
continue-on-error: false
4646

47-
- name: Publish
47+
- name: Publish DocFX site
4848
if: github.event_name == 'push'
4949
uses: peaceiris/actions-gh-pages@v3
5050
with:

0 commit comments

Comments
 (0)