add conditional deploy of target