Github Actions stuck on Deploy to Azure Web App

Dylan Ritzer 5 Reputation points
2023-03-24T15:20:41.7833333+00:00

Hello All,

I have recently built a chatbot in Python using Langchain, GPT_Index and Flask. Currently, I am attempting to find a way to host the python script on an Azure web app. To me, the most straightforward way seems to be by hosting the files on GitHub and then using GitHub actions to upload them to the Azure web app. However, when I do this I get stuck on "Deploy to Azure Web App" and the process never continues to job completion. I am unsure if this is an issue with my code, or rather something that I am doing on GitHub. Any guidance would be much appreciated!azure

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,930 questions
{count} vote

1 answer

Sort by: Most helpful
  1. VenkateshDodda-MSFT 24,951 Reputation points Microsoft Employee Moderator
    2023-03-29T04:14:15.4966667+00:00

    @Dylan Ritzer Thank you for reaching out to Microsoft Q&A, apologize for any inconvenience caused on this.

    Could you please add this app settings WEBSITE_RUN_FROM_PACKAGE=1, restart the webapp and retry the deployment and check? If you still face the same issue.

    Request you to review the deployment logs of the specific workflow from GitHub actions or from the kudu console using this URL https://<app-name>.scm.azurewebsites.net/api/deployments/<specificdeployment_ID>

    If you have any challenges, please do help us with the WebappName, deployment Initiated time frame (UTC), complete error message and also deployment Id to check and assist you better on this.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.