add publish task