deploy properly for branches