Skip to content

Latest commit

 

History

History
52 lines (40 loc) · 1.38 KB

File metadata and controls

52 lines (40 loc) · 1.38 KB
authorms.authorms.topicms.date
DavidCBerry13
daberry
include
01/30/2022

First, configure the deployment source for your web app to be local Git using the az webapp deployment command.

az webapp deployment source config-local-git \ --name $APP_SERVICE_NAME \ --resource-group $RESOURCE_GROUP_NAME \ --output tsv 
$resourceGroupName='msdocs-expressjs-mongodb-tutorial' $appServiceName='msdocs-expressjs-mongodb-123' az webapp deployment source config-local-git ` --name $appServiceName ` --resource-group $resourceGroupName ` --output tsv 

Retrieve the deployment credentials for your application. These will be needed for Git to authenticate to Azure when you push code to Azure in a later step.

az webapp deployment list-publishing-credentials \ --name $APP_SERVICE_NAME \ --resource-group $RESOURCE_GROUP_NAME \ --query "{Username:publishingUserName, Password:publishingPassword}" 
az webapp deployment list-publishing-credentials ` --name $appServiceName ` --resource-group $resourceGroupName ` --query "{Username:publishingUserName, Password:publishingPassword}" 

close