This commit is contained in:
Christian Vorhemus 2020-03-08 19:23:36 +01:00
Родитель cef8bdb7c9
Коммит 6b6abb175e
1 изменённых файлов: 15 добавлений и 16 удалений

Просмотреть файл

@ -238,21 +238,6 @@
"redundancyMode": "None"
},
"resources": [
{
"apiVersion": "2018-11-01",
"name": "web",
"type": "sourcecontrols",
"dependsOn": [
"[resourceId('Microsoft.Web/Sites', variables('functionName'))]",
"[resourceId('Microsoft.Web/sites/config/', variables('functionName'), 'appsettings')]",
"[resourceId('Microsoft.Web/sites/host/functionKeys', variables('functionName'), 'default', 'internal')]"
],
"properties": {
"RepoUrl": "[variables('repoURL')]",
"branch": "[variables('branch')]",
"IsManualIntegration": true
}
},
{
"type": "Microsoft.Web/sites/host/functionKeys",
"apiVersion": "2018-11-01",
@ -265,6 +250,20 @@
"name": "internal"
}
},
{
"apiVersion": "2018-11-01",
"name": "web",
"type": "sourcecontrols",
"dependsOn": [
"[resourceId('Microsoft.Web/Sites', variables('functionName'))]",
"[resourceId('Microsoft.Web/sites/config/', variables('functionName'), 'appsettings')]"
],
"properties": {
"RepoUrl": "[variables('repoURL')]",
"branch": "[variables('branch')]",
"IsManualIntegration": true
}
},
{
"name": "appsettings",
"type": "config",
@ -284,7 +283,7 @@
"FUNCTIONS_WORKER_RUNTIME": "node",
"FUNCTIONS_EXTENSION_VERSION": "~3",
"WEBSITE_NODE_DEFAULT_VERSION": "~10",
"FunctionHostKey": "[listkeys(concat(resourceId('Microsoft.Web/Sites', variables('functionName')), '/host/default/'),'2016-08-01').functionKeys.internal]"
"FunctionHostKey": "[listkeys(concat(resourceId('Microsoft.Web/Sites', variables('functionName')), '/host/default/'),'2016-08-01').functionKeys.default]"
}
}
]