The goal is to have two deployments types.
- One for static files only.
- The other for a full build.
Both will use KuduSync to copy files. A wonderful thing about KuduSync is that (if we use it as intended,) it will never delete a file that is not under version control.
The full build deployment is what comes out of the box when we run this:
azure site deploymentscript --aspWAP Orchard.proj -s src\Orchard.sln
For the static files only deployment, we can take that default script and change this:
And beside the deploy.cmd file, add a new csproj like this: