aboutsummaryrefslogtreecommitdiff
path: root/travis
diff options
context:
space:
mode:
Diffstat (limited to 'travis')
-rwxr-xr-xtravis/after_success.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/travis/after_success.sh b/travis/after_success.sh
index 1b442ddb..8a230693 100755
--- a/travis/after_success.sh
+++ b/travis/after_success.sh
@@ -6,7 +6,8 @@ set -e
coveralls --extension .c --exclude build_autoconf --exclude build_cmake
echo "$TRAVIS_SECURE_ENV_VARS"
./travis/build_docs.sh
-if test "$TRAVIS_SECURE_ENV_VARS" = "true" -a "$TRAVIS_BRANCH" = "master"; then
+# Only build and publish docs when changes are made on most recent maintenance branch
+if test "$TRAVIS_SECURE_ENV_VARS" = "true" -a "$TRAVIS_BRANCH" = "5.2"; then
echo "publish website";
./travis/add_deploy_key.sh;
./travis/deploy_website.sh $TRAVIS_BUILD_DIR/docs/build /tmp;