how to place the file in under wwwroot folder in webapp?

Digrase, shubham 0 Reputation points
2024-07-18T07:15:44.37+00:00

could you please let me know how to place the files in a particular folder in webapp? I am deploying a zip package using the commandline to my webapp. but its missing web.config file to I need to add it manually under the wwwroot folder. Is there any command that I can try to add this file without having any changes to the zip that I have deployed and web.config ?

i tried this az webapp deploy --resource-group <group-name> --name <app-name> --src-path config.json --type=static but getting the error. An error occurred during deployment. Status Code: 400, Details: "Path must be defined for type=static", Please visit https://###############.scm.azurewebsites.net/api/deployments/latest to get more information about your deployment

Could you please provide me syntax for it?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,594 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
886 questions
{count} votes

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.