diff --git a/ci/deploy.sh b/ci/deploy.sh index 292fd935c..7a8b15d79 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" ]]; then +if [[ "$TRAVIS_EVENT_TYPE" != "cron" ]] || [[ "$TRAVIS_EVENT_TYPE" != "api" ]]; then echo "Skipping deploy; just doing a build." exit 0 fi