Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added command to swap staging for production to deploy script

  • Loading branch information...
commit 06f64f16f55d8c2b5551d07358295c0fe5987baa 1 parent 345ea25
@half-ogre half-ogre authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 Scripts/Deploy.ps1
View
6 Scripts/Deploy.ps1
@@ -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
+
Please sign in to comment.
Something went wrong with that request. Please try again.