Browse Source

Updated AppVeyor doc build branch selection

pull/13/head
Anairkoen Schno 5 years ago
parent
commit
3b5b173ba3
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      appveyor.yml

+ 2
- 2
appveyor.yml View File

@ -50,9 +50,9 @@ after_deploy:
{
cd docs
Add-Content link_branch.json "{`"_gitContribute`":{`"branch`":`"$env:APPVEYOR_REPO_COMMIT`"}}"
Add-Content link_branch.json "{`"_gitContribute`":{`"branch`":`"$env:APPVEYOR_REPO_COMMIT`",`"apiSpecFolder`":`"docs/override`"}}"
& docfx metadata
& docfx build --globalMetadataFiles all_globals.json,link_branch.json
& docfx build --globalMetadataFiles link_branch.json
if ($lastexitcode -ne 0){
throw [System.Exception] "docfx build failed with exit code $lastexitcode."
}


Loading…
Cancel
Save