Pushing using git to web app / app service BUG

Jacob 1 Reputation point
2021-10-02T17:54:13.46+00:00

I push using .git and then the stuff is saved under /tmp/<id>, then according to the logs it should be copied to wwwroot, but it isn't and everything breaks down.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,939 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Michael Taylor 48,736 Reputation points
    2021-10-02T19:32:24.387+00:00

    Git is a source control tool. It is for versioning of source code to Git-based systems like Github and Azure DevOps. It has nothing to do with publishing web apps.

    Publishing web apps involves a completely different toolset depending upon what you're publishing. If you're building an ASP.NET app then you might be using msdeploy or dotnet publish depending upon the framework. If you're building a typescript, Angular or Nodejs app then you're using completely different sets of tools.

    If you're using Visual Studio to deploy apps then you're using the Publish menu item.

    If you are using Git Actions then you might be able to configure an action to publish your app once it is pushed to Github but that is not a Azure Webapps issue.

    If you're using an Azure-based tool to publish your app then please provide us more context. Most likely you haven't configured your tooling to deploy to your app, you haven't set up your Azure subscription, resource group, app service and credentials to deploy the app yet or you have a permissions problem. At this point we are completely guessing at which of the many different configuration and toolsets you may be using here. Please provide us lots more information including any relevant configuration settings and log messages.