Simple command line tool to deploy a folder or a zip file to an Azure Website using WebDeploy. See this post for details.
Note: the .PublishSettings
file discussed here is the one you can download for a specific Azure Web App via the portal.
Sample use:
WAWSDeploy c:\somefolder mysite.PublishSettings
WAWSDeploy c:\somefile.zip mysite.PublishSettings
With optional password argument
WAWSDeploy c:\somefolder mysite.PublishSettings /p mypubsettingspassword
WAWSDeploy c:\somefolder mysite.PublishSettings /password mypubsettingspassword
Allowing untrusted cert
WAWSDeploy c:\somefolder mysite.PublishSettings /au
Delete files on the remote host
WAWSDeploy c:\somefolder mysite.PublishSettings /d
Use checksums instead of timestamps
WAWSDeploy c:\somefolder mysite.PublishSettings /c
Verbose Logging
WAWSDeploy c:\somefolder mysite.PublishSettings /v
WAWSDeploy c:\somefolder mysite.PublishSettings /w
Target Path - The virtual directory to deploy to
WAWSDeploy C:\somefolder mysite.PublisSettings /t someVirtualDirectoryName
Target Path - Using a physical target folder
WAWSDeploy C:\somefolder mysite.PublisSettings /t d:\home\site\blah
npm install -g grunt-cli
npm install
grunt
Add /AppOffline switch
Add /TargetPath switch
Add /TargetPath switch
Add -t switch to allow targeted deployment to a specific virtual directory.
Add -WhatIf and -deleteexistingfiles switches
Add support for untrusted certs.
Support optionally passing password
Support publishing from zip files
Original version