Another check for branches

This commit is contained in:
AppVeyor Doc Generation 2016-08-25 21:50:54 +02:00
parent 70282859a4
commit 01a9069422

View File

@ -1,4 +1,5 @@
if "%APPVEYOR_PULL_REQUEST_NUMBER%" == "" ( if "%APPVEYOR_PULL_REQUEST_NUMBER%" == "" (
if "%APPVEYOR_REPO_BRANCH%" == "master" (
echo Building docs... echo Building docs...
pip install mkdocs pip install mkdocs
@ -20,6 +21,7 @@ if "%APPVEYOR_PULL_REQUEST_NUMBER%" == "" (
git push -fq origin gh-pages git push -fq origin gh-pages
cd ../../../ cd ../../../
)
) else ( ) else (
echo Skipping doc build echo Skipping doc build
) )