Skip to content

Commit 3284dbb

Browse files
chore(CI): docfx version
1 parent 8306650 commit 3284dbb

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

appveyor.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ environment:
3232
install:
3333
- dotnet --version
3434
- choco install gitversion.portable -y
35-
- nuget update -self
36-
- choco install docfx -y
3735
- npm install gh-pages -g
3836

3937
# - nuget install secure-file -ExcludeVersion
@@ -56,8 +54,11 @@ build_script:
5654

5755
after_build:
5856
- cmd: appveyor PushArtifact "src\bin\%CONFIGURATION%\Ipfs.Http.Client.%GitVersion_MajorMinorPatch%.nupkg"
57+
5958
# Build documentation in doc\_site
60-
- docfx doc\docfx.json --logLevel Warning
59+
# v2.43 is requiring VS 2019!!!
60+
- cmd: choco install docfx -y --version 2.42 --force
61+
- docfx doc\docfx.json --logLevel Warning --warningsAsErrors
6162
- 7z a -tzip docs.zip doc\_site
6263
- appveyor PushArtifact docs.zip
6364
- if defined git_token gh-pages -d doc\_site -m "new docs %GitVersion_FullSemVer%"

0 commit comments

Comments
 (0)