convert deploy task to thor/tasks
update dist task