Skip to content

Commit db13f39

Browse files
authored
fix docs.yml
1 parent 64c2778 commit db13f39

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

.github/workflows/docs.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,22 @@ jobs:
3131
- name: Dotnet Checkout
3232
uses: actions/checkout@v4
3333

34-
- name: Dotnet Setup
34+
- name: Setup .NET SDK
3535
uses: actions/setup-dotnet@v4
36+
with:
37+
dotnet-version: '6.0.x'
3638

3739
- name: Setup NuGet
3840
uses: NuGet/setup-nuget@v2
3941

4042
- name: Restore NuGet packages
4143
run: nuget restore HelpSense.sln
4244

43-
- run: dotnet tool update -g docfx
44-
- run: docfx docs/docfx.json
45+
- name: Install DocFX as .NET tool
46+
run: dotnet tool update -g docfx
47+
48+
- name: Build Documentation
49+
run: docfx docs/docfx.json
4550

4651
- name: Upload artifact
4752
uses: actions/upload-pages-artifact@v3
@@ -50,4 +55,4 @@ jobs:
5055
path: 'docs/_site'
5156
- name: Deploy to GitHub Pages
5257
id: deployment
53-
uses: actions/deploy-pages@v4
58+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)