Only deploy when layer is configured