Skip to content

Commit

Permalink
travis is in charge to trigger deploy on tag
Browse files Browse the repository at this point in the history
  • Loading branch information
jbouzekri committed Aug 19, 2017
1 parent 1705a19 commit 00792eb
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@ function doCompile {
npm run build
}

# Pull requests and commits to other branches shouldn't try to deploy.
if [ "$TRAVIS_PULL_REQUEST" != "false" -o "$TRAVIS_BRANCH" != "$SOURCE_BRANCH" ]; then
echo "Skipping deploy"
exit 0
fi

# Save some useful information
REPO="https://github.com/gmalt/gmalt.github.io.git"
SSH_REPO=${REPO/https:\/\/github.com\//git@github.com:}
Expand Down

0 comments on commit 00792eb

Please sign in to comment.