add publish config