From 95fe817a22c2df9c1d520c507f078c9c21805dad Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Fri, 25 Dec 2015 13:37:17 +0100 Subject: [PATCH] Check for TRAVIS_PULL_REQUEST --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e99912da..667128d9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,7 @@ install: - "pip install git+https://github.com/lektor/lektor#egg=Lektor" script: - "lektor build" - - "if [ ! -z \"$LEKTOR_DEPLOY_KEY\" ] && [ \"$TRAVIS_BRANCH\" == \"master\" ]; then lektor deploy production; fi" + - "if [ ! -z \"$LEKTOR_DEPLOY_KEY\" ] && [ \"$TRAVIS_PULL_REQUEST\" == \"false\" ] && [ \"$TRAVIS_BRANCH\" == \"master\" ]; then lektor deploy production; fi" cache: directories: - $HOME/.cache/pip