deploy previous app if build fails
minify code
minify output