Skip to content

Commit

Permalink
don't deploy pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Jul 7, 2019
1 parent a1bcf0f commit faceffd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit faceffd

Please sign in to comment.