Skip to content

Instantly share code, notes, and snippets.

View TravisTroyer's full-sized avatar

Travis Troyer TravisTroyer

View GitHub Profile
@TravisTroyer
TravisTroyer / deploy.ps1
Last active August 29, 2015 14:16 — forked from mmooney/deploy.ps1
#Modified and simplified version of https://www.windowsazure.com/en-us/develop/net/common-tasks/continuous-delivery/
#From: #https://gist.github.com/3694398
$subscription = "[SubscriptionName]" #this the name from your .publishsettings file
$service = "[ServiceName]" #this is the name of the cloud service
$storageAccount = "[StorageAccountName]" #this is the name of the storage service
$slot = "production" #staging or production
$package = "[Fully Qualified Path to .cspkg]"
$configuration = "[Fully Qualified path to .cscfg]"
$publishSettingsFile = "[Path to .publishsettings file, relative is OK]"
$timeStampFormat = "g"