Last active
September 2, 2016 23:33
Star
You must be signed in to star a gist
Sync an Azure Web Site using Continuous Deployment with PowerShell
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 AzureRM.Websites | |
Login-AzureRmAccount | |
$MyResourceGroup = 'myresourcegroupname' | |
$MyResourceName = 'myresourcename' | |
Invoke-AzureRmResourceAction -ResourceGroupName $MyResourceGroup -ResourceType Microsoft.Web/sites -ResourceName $MyResourceName -Action sync -ApiVersion 2015-08-01 -Force -Verbose |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment