Browse Source

changed to invoke-expression again

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

+ 1
- 1
appveyor.yml View File

@ -82,7 +82,7 @@ before_deploy:
{ {
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 metadata
& "docfx build --globalMetadataFiles link_branch.json $params"
invoke-expression "docfx build --globalMetadataFiles link_branch.json $params"
if ($lastexitcode -ne 0){ if ($lastexitcode -ne 0){
throw [System.Exception] "docfx build failed with exit code $lastexitcode." throw [System.Exception] "docfx build failed with exit code $lastexitcode."
} }


Loading…
Cancel
Save