only publish after successfull build