From 00124ab1c8ac99e4b0c3455cdc60a7f30d7314d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sun, 15 Jul 2018 10:10:36 -0400 Subject: [PATCH] travis: fix condition when to update repository --- ci/deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/deploy.sh b/ci/deploy.sh index 7a8b15d79..a3ba9d419 100755 --- a/ci/deploy.sh +++ b/ci/deploy.sh @@ -26,7 +26,7 @@ fi nix-build # Pull requests and commits to other branches shouldn't try to deploy, just build to verify -if [[ "$TRAVIS_EVENT_TYPE" != "cron" ]] || [[ "$TRAVIS_EVENT_TYPE" != "api" ]]; then +if [[ "$TRAVIS_EVENT_TYPE" != "cron" ]] && [[ "$TRAVIS_EVENT_TYPE" != "api" ]]; then echo "Skipping deploy; just doing a build." exit 0 fi