From 6832181cf254b16fe32526b867abf1a064a548b5 Mon Sep 17 00:00:00 2001 From: Bart Koelman Date: Mon, 18 Oct 2021 10:00:29 +0200 Subject: [PATCH] Fixed: do not publish docs from openapi branch --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 8bddadbc32..e36676e658 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -69,7 +69,7 @@ for: CD _site git add -A 2>&1 git commit -m "Automated commit from cibuild" -q - if (-Not $env:APPVEYOR_PULL_REQUEST_TITLE) { + if (-Not $env:APPVEYOR_PULL_REQUEST_TITLE -And $env:APPVEYOR_REPO_BRANCH -eq 'master') { git push origin gh-pages -q echo "Documentation updated successfully." }