travis: fix condition when to update repository
This commit is contained in:
parent
0e09e7b419
commit
00124ab1c8
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue