splitet the build task to build and depoly