For automated deployment to CM and CD Azure VM Servers, I am using Azure DevOps. I need to deploy artifacts over clean environment everytime. That means each time before deployment, I need to delete existing root folder, create a fresh installation and then deploy the artifacts over that. Can anybody please suggest the recommended practices to do that?
Thanks in Advance!