Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WebDeploy command line tool to skip web.config file

I want webdeploy commandline command to skip - Delete / Update of web.config file and Website host header updates. How do i do that.

Currently command line ignores any skip command and updates binding to reflect non-production bindings.

like image 852
HawkEye Avatar asked Dec 25 '22 23:12

HawkEye


1 Answers

You're looking for a skip rule:

msdeploy -verb:sync -source:<your_source> -dest:<your_source> ^
         -skip:File=web\.config
like image 81
Richard Szalay Avatar answered Dec 31 '22 03:12

Richard Szalay