Created
September 18, 2014 05:54
-
-
Save shawnmclean/40ec81407d3367c02a7e to your computer and use it in GitHub Desktop.
Swap Azure staging and production
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Import-Module Azure | |
Import-AzurePublishSettingsFile "C:\Certificate\Azure.publishsettings" | |
Write-Host "Swapping staging and production slots..." | |
Switch-AzureWebsiteSlot -Name "griklyapi" -Slot1 "production" -Slot2 "staging" -Force | |
Write-Host "Swap complete" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment