if without deploy config, dont show deploy menuitem