Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,057 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi Team,
i was trying to deploy ARM templated from deploy from custome templates using ARM templates.
How to deploy private github repo code into my web service ?
Thanks
Hello @Harish Appana ,
Here are the steps to deploy a private GitHub repo to Azure Web App using ARM templates:
"resources": [
{
"type": "sourcecontrols",
"apiVersion": "2021-03-01",
"name": "web",
"location": "[resourceGroup().location]",
"properties": {
"repoUrl": "https://github.com/<owner>/<repo-name>.git",
"branch": "main",
"isManualIntegration": true,
"deploymentRollbackEnabled": false,
"githubActionConfiguration": {
"codeConfiguration": {
"runtimeStack": "NODE|16-lts",
"runtimeVersion": "16-lts"
}
}
}
}
]
Copy code
"dependsOn": ["sourcecontrols/web"]
Hope that helps.
Grace