Browse Source

Adjusted AppVeyor documentation builds

pull/46/head
Anairkoen Schno 5 years ago
parent
commit
4c369351a1
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
{
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")


Loading…
Cancel
Save