Skip to content

Commit e751429

Browse files
committed
Stops PRs by @jacobwilliams from deploying master docs
1 parent 34f1cdb commit e751429

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ if [ ! "$TRAVIS" ]; then #not on travis, try a sane deploy of current branch's d
3434
else #running under travis
3535
if $TRAVIS_SECURE_ENV_VARS ; then
3636
# only try to update master's development documentation
37-
if [ "$TRAVIS_BRANCH" = "master" ] && [ "$(ls -A $TRAVIS_BUILD_DIR/documentation)" ] ; then #not empty
37+
if [ "$TRAVIS_BRANCH" = "master" ] && [ "$TRAVIS_PULL_REQUEST" = "false" ] && [ "$(ls -A $TRAVIS_BUILD_DIR/documentation)" ] ; then #not empty
3838
git clone --branch=gh-pages https://${GH_TOKEN}@github.com/$TRAVIS_REPO_SLUG gh-pages
3939
cd gh-pages
4040
[ -e master ] && rm -r master # wipe out docs if they exist

0 commit comments

Comments
 (0)