Added publish task.