Web api is deployed in an on-premise web server. I have setup the release pipeline through azure devops. Now looking for a way to remove appsettings.env.json after deployment is complete
such that:
appsettings.Development.json and appsettings.Staging.json are removed from the target directory of the production environment after the app is deployed.