Updated the auto-deployer to exit on build failure