Skip to content

--target-path is not working in az webapp deploy CLI command #30543

@senthio

Description

@senthio

Describe the bug

Deploying to a subfolder in Azure appservice is working only by setting DEPLOYMENT_TARGET appsetting. If I use the --target-path option in az webapp deploy command it is not working and deployment is failing

Related command

Please refer https://learn.microsoft.com/en-us/answers/questions/2126540/azure-appservice-deployment-does-not-clean-root-di?comment=question#comment-1863045 for more detail

Errors

Internal Server Error 500

Issue script & Debug output

Pls check this https://learn.microsoft.com/en-us/answers/questions/2126540/azure-appservice-deployment-does-not-clean-root-di?comment=question#comment-1863045

Expected behavior

Deployment should happen to a subfolder

Environment Summary

All environments

Additional context

No response

Metadata

Metadata

Assignees

Labels

Auto-AssignAuto assign by botService AttentionThis issue is responsible by Azure service team.Web Appsaz webappapp-service-deploymentbugThis issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions