Skip to content

Commit

Permalink
Merge pull request Azure#65 from cephalin/patch-1
Browse files Browse the repository at this point in the history
feedback
  • Loading branch information
erickson-doug authored Jun 14, 2017
2 parents 5c57d84 + 32d2adc commit 1c46cfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app-service/deploy-local-git/deploy-local-git.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Set-AzureRmResource -PropertyObject $PropertiesObject -ResourceGroupName myResou
-ApiVersion 2015-08-01 -Force

# Get app-level deployment credentials
$xml = (Get-AzureRmWebAppPublishingProfile -Name $webappname -ResourceGroupName myResourceGroup `
$xml = [xml](Get-AzureRmWebAppPublishingProfile -Name $webappname -ResourceGroupName myResourceGroup `
-OutputFile null)
$username = $xml.SelectNodes("//publishProfile[@publishMethod=`"MSDeploy`"]/@userName").value
$password = $xml.SelectNodes("//publishProfile[@publishMethod=`"MSDeploy`"]/@userPWD").value
Expand Down

0 comments on commit 1c46cfa

Please sign in to comment.