Skip to content

Simple command line tool to deploy a folder to an Azure Website using WebDeploy

License

Notifications You must be signed in to change notification settings

npiasecki/WAWSDeploy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WAWSDeploy

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

What If deployment

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

To build this project

npm install -g grunt-cli
npm install
grunt

History

2/4/2017: v1.8

Add /AppOffline switch

5/25/2016: v1.7

Add /TargetPath switch

1/9/2015: v1.6

Add /TargetPath switch

11/12/2014: v1.5

Add -t switch to allow targeted deployment to a specific virtual directory.

5/1/2014: v1.4

Add -WhatIf and -deleteexistingfiles switches

3/26/2014: v1.3

Add support for untrusted certs.

3/6/2014: v1.2

Support optionally passing password

3/5/2014: v1.1

Support publishing from zip files

3/5/2014: v1.0

Original version

About

Simple command line tool to deploy a folder to an Azure Website using WebDeploy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 97.0%
  • JavaScript 3.0%