Skip to content

Commit

Permalink
Fixing rev-parse for doc deploy.
Browse files Browse the repository at this point in the history
  • Loading branch information
wbyoung committed Jan 2, 2015
1 parent e244eec commit 31bde7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/deploy
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

set -e

if [ "`git rev-parse HEAD`" != "`git rev-parse master --`" ]; then
if [ "`git rev-parse HEAD`" != "`git rev-parse master 2> /dev/null`" ]; then
echo "Not deploying docs for non-master commit `git rev-parse --short HEAD`"
exit 0
fi
Expand Down

0 comments on commit 31bde7d

Please sign in to comment.