Don't publish JavaDoc unless master was pushed.
Closes #30.