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