WEB Application - Deployment with GitHub

Caullireau Dorian 0 Reputation points
2023-11-20T12:20:13.3666667+00:00

Hello,

As part of a POC on Azure OPENAI, I set up a web service to provide a chat interface for my users.

I'm using the Microsoft template: https://github.com/microsoft/sample-app-aoai-chatGPT

To customize it, I forked the main branch on a personal github, to be able to modify it.

Then on the Azure application in Deployment > Deployment Center I connected this last branch.

I wanted to make changes to the frontend and other files, but the changes don't seem to be taken into account when I "Sync" from the Deployment Center.

It seems to me that the deployment doesn't modify the "static" file.

User's image

User's image

Does anyone have a solution? Or a method other than forking and connecting via github?

Have a nice day and thanks in advance!

Azure AI Search
Azure AI Search
An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.
1,103 questions
Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
1,024 questions
Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
3,378 questions
{count} votes

1 answer

Sort by: Most helpful
  1. brtrach-MSFT 16,686 Reputation points Microsoft Employee
    2023-11-22T23:34:11.51+00:00

    @Caullireau Dorian It sounds like you are having trouble deploying changes to your web service after forking the Microsoft sample app and connecting it to your Azure application via GitHub.

    One possible reason why your changes are not being deployed could be that the static files are not being included in the deployment package. To ensure that the static files are included, you can try modifying the deployment settings in the Azure portal.

    Here are the steps to modify the deployment settings:

    1. In the Azure portal, navigate to your web app and click on "Deployment Center" in the left-hand menu.
    2. Click on "GitHub" and select your repository.
    3. Click on "Settings" and scroll down to the "Deployment options" section.
    4. Click on "Configure required settings" and select "Kudu" as the deployment provider.
    5. Click on "OK" to save the changes.

    Once you have modified the deployment settings, you can try syncing your changes again to see if they are deployed successfully.

    If you continue to experience issues with deploying your changes, you can try deploying your web service using other methods such as Azure DevOps or FTP. These methods may provide more flexibility and control over the deployment process.


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.