Replace schedule with deploy task.