add a publish task