Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
535 views
in Technique[技术] by (71.8m points)

Why my Azure functions are not visible in the function list after my deployment from GitHub/Kudu?

I'm trying to deploy my first HTTP trigger Function App to Azure.

It was created with the Azure Function extension in VS Code with TypeScript template. I use my GitRepo as a source and the Kudu build App Service.

My functions are working well locally. I can see them in VS Code > Azure tab, Local Project > Functions.

I have no error on the deployment itself but I cannot see my two functions in the Azure Functions list.

In the kudu UI, I see that all my files are correctly deployed : Kudu screenshoot

My settings are : settings

Where can I find some logs on what went wrong? Any idea of other things to check?

Any help will be appreciated.

I could use Zip deploy (https://docs.microsoft.com/en-us/azure/azure-functions/deployment-zip-push) as an alternative way to deploy this (I haven't tried it yet). I would like to know what's wrong with my current setup.

question from:https://stackoverflow.com/questions/65941847/why-my-azure-functions-are-not-visible-in-the-function-list-after-my-deployment

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Not sure if the problem is that you configure the wrong runtime.

Here is the steps I did:

  1. Create a Function app project with an http-trigger function based on TypeScript in VS Code: enter image description here

  2. Upload the project to GitHub.

  3. Using deployment center to configure deploy from Git on portal. enter image description here

  4. After deploy, check in Functions page: enter image description here


By the way, you could deploy from VS Code directly: enter image description here


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...