Return publish and deprecate service