Browse Source

Adjusted AppVeyor documentation builds

pull/32/head
Anairkoen Schno 5 years ago
parent
commit
3f9d6b4ef9
1 changed files with 6 additions and 5 deletions
  1. +6
    -5
      appveyor.yml

+ 6
- 5
appveyor.yml View File

@ -83,11 +83,12 @@ for:
function Do-DocFX function Do-DocFX
{ {
Add-Content link_branch.json "{`"_gitContribute`":{`"sourceBranch`":`"$env:APPVEYOR_REPO_COMMIT`",`"apiSpecFolder`":`"docs/override`"}}" Add-Content link_branch.json "{`"_gitContribute`":{`"sourceBranch`":`"$env:APPVEYOR_REPO_COMMIT`",`"apiSpecFolder`":`"docs/override`"}}"
& docfx metadata
& docfx build --globalMetadataFiles link_branch.json @Args
if ($lastexitcode -ne 0){
throw [System.Exception] "docfx build failed with exit code $lastexitcode."
}
#& docfx metadata
#& docfx build --globalMetadataFiles link_branch.json @Args
#if ($lastexitcode -ne 0){
# throw [System.Exception] "docfx build failed with exit code $lastexitcode."
#}
& .\build.ps1
} }
if ($env:APPVEYOR_REPO_TAG -eq "true") if ($env:APPVEYOR_REPO_TAG -eq "true")


Loading…
Cancel
Save