[deploy] silence rebuild script unless error, and fail on unset env var