问题
I just create a website in Azure but i have problems while setting up the GIT deployment. I selected the "Set up deployment from source control" in the menu and picked type "External repository". At the moment i have all my repos at "codebase". So i selected an external GIT repo. The problem is that the creation wont ask for an username and/or password. Due this reason i have errors on the clone.
DEPLOYMENT FAILED: woensdag 18 december 2013 14:22
Fetch from https://username.codebasehq.com/projectname/projectname.git
ID: temp-1db5d AUTHOR: N/A
DEPLOYED BY: username.codebasehq.com
And the Azure deployment log:
remote: Authentication Required
fatal: Authentication failed for 'https://username.codebasehq.com/projectname/projectname.git/'
D:\Program Files (x86)\Git\bin\git.exe fetch external --progress
回答1:
Note that even if it worked, External Repository would not cause automatic deployments when you push changes to codebase, and you need to click a Sync button in the Azure portal.
Kudu (the git engine in Azure) has some basic Codebase support (here), but no support in the Azure portal. It is possible to manually set it up, but there are a number of steps involved (some related info here). Do note that this is not officially supported in Azure, and you may be the first to try it :)
来源:https://stackoverflow.com/questions/20659609/azure-external-git-deployment-wont-ask-for-credentials