Check build failure in deploy.sh