Only deploy when needed