There are two issues with deploying to Azure from a Linux system with the current implementation.
First, in and-cli-deploy-azure-web-app.js where we call git remote add... on line 49, the URL of the remote that gets added is invalid, because the username response from Azure includes the $ symbol, effectively attempting to get an environment variable that doesn't exist. This could likely be solved by simply adding quotation marks around the URL.
Second, in that same file and on that same line, the URL returned from Azure appears to be invalid on Linux systems (at least in the case of a Ubuntu VM on Azure, running version 18.04 of Ubuntu). The apparent issue is that the URL returned does not precisely match the Git Clone Uri found in the Deployment Center for an Azure App Service. Specifically it's missing the xx.git portion at the end, where xx is the name of the App Service.
There are two issues with deploying to Azure from a Linux system with the current implementation.
First, in and-cli-deploy-azure-web-app.js where we call
git remote add...
on line 49, the URL of the remote that gets added is invalid, because the username response from Azure includes the$
symbol, effectively attempting to get an environment variable that doesn't exist. This could likely be solved by simply adding quotation marks around the URL.Second, in that same file and on that same line, the URL returned from Azure appears to be invalid on Linux systems (at least in the case of a Ubuntu VM on Azure, running version 18.04 of Ubuntu). The apparent issue is that the URL returned does not precisely match the Git Clone Uri found in the Deployment Center for an Azure App Service. Specifically it's missing the
xx.git
portion at the end, wherexx
is the name of the App Service.