npm deploy waits for stdout to be complete before following the next step. remove function to delete project when a build has completed succesfully