Wednesday, September 28, 2022

[FIXED] How to know github repository linked to azure function for continuous deployment

Issue

I have followed this documentation to setup Continuous deployment for Azure Functions. Now I have succesffuly setup github repository in Azure function for continuous deployment.

As I am multiple Azure functions each associated with different github branch. Now I want to know which Github repository and branch is linked with particular Azure function

How can I get that information?

Update 1:-

I need to link different git-hub branch for different function apps.

When I goto deployment options after I configured the continuous deployment. Then I see a list of commits pushed to respective branch. But I want to know which repository + branch is linked to the particular function app. Where can I see that information?

enter image description here


Solution

Per my understanding, you could use kudu to check the D:\home\site\repository folder and find the config file under the .git folder, then you could retrieve the endpoint of your configured repository as follows:

enter image description here

enter image description here

Moreover, for your chose branch, you could check the settings.xml file under the D:\home\site\deployments path.



Answered By - Bruce Chen
Answer Checked By - Cary Denson (PHPFixing Admin)

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.