sexta-feira, 30 de novembro de 2018

MSDEPLOY - example


msdeploy -verb:sync -source:package="C:\Deploy\Pacote\XXXXX.zip" -dest:contentPath="[mysite.web]",computerName="the computer name",userName="your user",password="XXXX",authtype="Basic",publishSettings="C:\Deploy\publish-profile\desenv\example.pubxml" -allowUntrusted

example.pubxml
<?xml version="1.0" encoding="utf-8"?>
<publishData>
  <publishProfile
    publishUrl="https://ec0-00-000-000.sa-east-1.compute.amazonaws.com:8172/msdeploy.axd"
    msdeploySite="mysite.web"
    destinationAppUrl="http://dev.xxxx.com.br:80/"
    mySQLDBConnectionString=""
    SQLServerDBConnectionString=""
    profileName="Default Settings"
    publishMethod="MSDeploy"
    userName="your user" />
</publishData>


Nenhum comentário:

Postar um comentário