Add publish task.