CMS-4431 Improve module build process. Added deploy task.