From cb0a2b40b63a4ca0299f0600953bd9cf4381f200 Mon Sep 17 00:00:00 2001 From: Bernhard Urban Date: Mon, 9 Nov 2015 10:47:29 -0800 Subject: [PATCH] travis: only try to deploy if built from upstream repo --- deploy-github-pages.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy-github-pages.sh b/deploy-github-pages.sh index 1c92747d..6ab2b2df 100644 --- a/deploy-github-pages.sh +++ b/deploy-github-pages.sh @@ -1,7 +1,7 @@ #!/bin/bash set -e -if [ "$TRAVIS_PULL_REQUEST" != "false" -o "$TRAVIS_BRANCH" != "master" ]; then +if [ "$TRAVIS_PULL_REQUEST" != "false" -o "$TRAVIS_BRANCH" != "master" -o "$TRAVIS_REPO_SLUG" != "xamarin/benchmarker" ]; then exit 0; fi