Permalink
Browse files

added command to swap staging for production to deploy script

  • Loading branch information...
1 parent 345ea25 commit 06f64f16f55d8c2b5551d07358295c0fe5987baa @half-ogre half-ogre committed Apr 6, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 Scripts/Deploy.ps1
View
@@ -96,4 +96,8 @@ await-status("Suspended")
"Starting staging deployment $deploymentName on $serviceName"
$operationId = (set-deploymentstatus -subscriptionId $subscriptionId -serviceName $serviceName -slot Staging -status Running -certificate $certificate).operationId
await-operation($operationId)
-await-start
+await-start
+
+"Moving staging deployment $deploymentName to productionon on $serviceName"
+move-deployment -subscriptionId $subscriptionId -serviceName $serviceName -certificate $certificate -name $deploymentName
+

0 comments on commit 06f64f1

Please sign in to comment.