Azure / azure-dev

A developer CLI that reduces the time it takes for you to get started on Azure. The Azure Developer CLI (azd) provides a set of developer-friendly commands that map to key stages in your workflow - code, build, deploy, monitor, repeat.
https://aka.ms/azd
MIT License
408 stars 197 forks source link

[Feature] AppService Git deployment #420

Open jongio opened 2 years ago

jongio commented 2 years ago

Today we only support zip deployment. Let's also support git deployment.

ellismg commented 2 years ago

For cases where we have multiple services inside a single repository, we will need to configure the deployment to point at the right project: https://github.com/projectkudu/kudu/wiki/Customizing-deployments gives an overview of this (and we would probably use the app setting strategy vs the .deployment strategy.

ellismg commented 2 years ago

@jongio For clarification - App Service has two ways to do git deployments:

  1. You can connect your website to an existing repository (e.g. on GitHub): https://docs.microsoft.com/en-us/azure/app-service/deploy-continuous-deployment?tabs=github
  2. AppService provides you with a custom git endpoint to push your code to, which does the deploy (sort of like the experience you would get with Heroku): https://docs.microsoft.com/en-us/azure/app-service/deploy-local-git?tabs=cli

In the case of static web apps - I think only (1) is supported.

Are you thinking about (1) or (2) here?

jongio commented 2 years ago

I would like to support both.