INFRA-39 Moving deploy checks to main deploy function