Publish task.