Azure App Service Deployment ZIP on Linux

sujith reddy komma 76 Reputation points
2020-07-10T08:38:43.423+00:00

Hi All,

I am trying to do a Javascript Deployment on Azure App Service on Linux.

I have tried to do it with Curl Command

curl -k -X POST --data-binary %BUILD_NO% XXXX/api/zipdeploy -v

then i added website run from package =1 as well in the configuration But it doesn't deploy correctly.

But when i do it through visual studio code it unzips run npm install How do i do that?

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

1 answer

Sort by: Most helpful
  1. Ryan Hill 26,771 Reputation points Microsoft Employee
    2020-07-10T15:09:05.27+00:00

    Hi @sujithreddykomma-6717,

    Try adjusting your curl command to the following:

    curl -X POST -u <deployment_user> --data-binary @"<zip_file_path>" https://<app_name>.scm.azurewebsites.net/api/zipdeploy

    See this doc for more information. If you still encounter problems, please include a snippet of your deployment logs. You can access them from https://<app_name>.scm.azurewebsites.net/api/deployments.

    0 comments No comments