Make deployment hook only fire on master