diff --git a/appveyor.yml b/appveyor.yml index b245a0c1fc65b..b84c7e32e30a1 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -16,8 +16,7 @@ build_script: on_success: - cd docs - git add . - - git commit -m "CI Updates" - - git push -u origin master + - git diff --quiet --exit-code --cached || git commit -m "CI Updates" || git push -u origin master #on_finish: # - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))