From faceffd63c03adfa4215bbe35387364c93351c46 Mon Sep 17 00:00:00 2001 From: Martin Fenner Date: Sun, 7 Jul 2019 17:58:19 +0200 Subject: [PATCH] don't deploy pull requests --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 76de489d9..c8b4aa817 100644 --- a/.travis.yml +++ b/.travis.yml @@ -54,7 +54,7 @@ after_success: docker push $REPO:$TRAVIS_TAG; echo "Pushed to" $REPO:$TRAVIS_TAG; AUTO_DEPLOY=true; - elif [ "$TRAVIS_BRANCH" == "master" ]; then + elif [ "$TRAVIS_BRANCH" == "master" && "$TRAVIS_PULL_REQUEST" == "false" ]; then docker build -f Dockerfile -t $REPO .; docker push $REPO; echo "Pushed to" $REPO;