Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
Don't build PR's
Browse files Browse the repository at this point in the history
  • Loading branch information
johncmckim committed Aug 27, 2016
1 parent a8a1dd2 commit f5dc8a6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions deploy.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
#!/bin/bash
set -e

if [[ $TRAVIS_PULL_REQUEST == "true" ]]; then
echo "Not deploying changes on pull request";
exit 0;
fi

AWS_REGION=${AWS_REGION:-ap-southeast-2}
BRANCH=${TRAVIS_BRANCH:-$(git rev-parse --abbrev-ref HEAD)}

Expand Down

0 comments on commit f5dc8a6

Please sign in to comment.