Rebuild for deploy