Don't try to commit documentation w/o GitHub token
Fixed the condition detecting that secure token variable is not set, e.g. in a PR build.
This commit is contained in:
Родитель
be80684f44
Коммит
3d0904324a
|
@ -148,7 +148,7 @@
|
|||
|
||||
cmake --build . --target documentation -- /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
||||
|
||||
if ($? -And $env:BOND_TOKEN -ne "" -And $env:APPVEYOR_REPO_BRANCH -eq "master") {
|
||||
if ($? -And $env:BOND_TOKEN -And $env:APPVEYOR_REPO_BRANCH -eq "master") {
|
||||
|
||||
git config --global user.email "bondlab@microsoft.com"
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче