Please support deploying function app from sub folder in root of repository
rachelxj-ms opened this issue · comments
Posted new issue here(Azure/Azure-Functions#2065) before, but I was suggested to create a ticket here.
Refer to this wiki: https://github.com/projectkudu/kudu/wiki/Customizing-deployments#deploying-a-specific-folder-for-a-node-php-or-aspnet-site
If the folder you want to deploy is not the root of the repository, you can specify which folder to deploy. e.g.
[config]
project = MyWebRoot
This is not working for Function app with local git enabled.
Reproduce steps:
create Nodejs function app
enable local git from deployment center
function app is in sub folder in root of the repository as screenshot
create .deployment in the root of repository
commit the code, got error: Source and destination directories cannot be sub-directories of each other
Hi
If the problem persists and is related to running it on Azure App Service, please open a support incident in Azure:
https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request
This way we can better track and assist you on this case
Thanks,
Joaquin Vano
Azure App Service