Add publishing task.