distinguish deploy and deploy_cold