Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
senthio opened this issue Dec 19, 2024 · 2 comments
Open

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

senthio opened this issue Dec 19, 2024 · 2 comments
Assignees
Labels
app-service-deployment Auto-Assign Auto assign by bot bug This issue requires a change to an existing behavior in the product in order to be resolved. customer-reported Issues that are reported by GitHub users external to the Azure organization. Service Attention This issue is responsible by Azure service team. Web Apps az webapp

Comments

@senthio
Copy link

senthio commented Dec 19, 2024

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

@senthio senthio added the bug This issue requires a change to an existing behavior in the product in order to be resolved. label Dec 19, 2024
@yonzhan
Copy link
Collaborator

yonzhan commented Dec 19, 2024

Thank you for opening this issue, we will look into it.

@microsoft-github-policy-service microsoft-github-policy-service bot added customer-reported Issues that are reported by GitHub users external to the Azure organization. Web Apps az webapp Service Attention This issue is responsible by Azure service team. Auto-Assign Auto assign by bot app-service-deployment labels Dec 19, 2024
Copy link
Contributor

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @AzureAppServiceCLI, @antcp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app-service-deployment Auto-Assign Auto assign by bot bug This issue requires a change to an existing behavior in the product in order to be resolved. customer-reported Issues that are reported by GitHub users external to the Azure organization. Service Attention This issue is responsible by Azure service team. Web Apps az webapp
Projects
None yet
Development

No branches or pull requests

3 participants