conditional deploy of target