In this post by codeproject.com, the author demonstrates how to deploy WCF services to Internet Information Services (IIS) automatically as part of the build process. This can be done using Nant script thta invokes the necessary MSBUILD commands. Take note that before deploying the WCF service, make a backup of the currently deployed service so if anything did not work as expected, you can always revert back to where you were previously.
It is expected that you are familiar with Nant syntax and MSBUILD. It is also assumed that you are familiar with hosting applications under IIS and have used Visual Studio 2010.
Read the rest of the tutorial here:Â http://www.codeproject.com/Tips/826792/Deploying-Your-WCF-Web-Service-to-IIS