Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix bug that made Travis try to deploy PRs

Turns out the documentation was wrong when it comes to the
TRAVIS_PULL_REQUEST environment variable.
  • Loading branch information...
commit 534b224f28e48e6af633a26d2ed63481913167cb 1 parent 3282962
@henrikhodne authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  script/deploy
View
2  script/deploy
@@ -4,7 +4,7 @@ cd "$(dirname "$0")/.."
have() { command -v "$1" >/dev/null 2>&1; }
if [[ "$TRAVIS" == "true" ]]; then
- if [[ "$TRAVIS_PULL_REQUEST" == "true" ]]; then
+ if [[ "$TRAVIS_PULL_REQUEST" != "false" ]]; then
echo "This is a pull request. No deployment will be done."
exit 0
fi
Please sign in to comment.
Something went wrong with that request. Please try again.