Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure- zip push deployment for a function app doesn't work

I am trying to update the code in my App Function from the CLI using the kudu zip push deployment for a function app. I am using this command-

az functionapp deployment source config-zip --name funcApp1 --resource-group MyGroup --src C:\Users\user\Documents\funcApp1.zip

And getting this output-

Getting scm site credentials for zip deployment Starting zip deployment. This operation can take a while to complete ... Deployment endpoint responded with status code 202

It looks like it worked but I can't see the updated code in the App Function from the CLI. What can be the problem?

like image 470
shon Avatar asked Oct 23 '25 15:10

shon


1 Answers

Your files need to be in the root of the zip file with no directory above

your files currently live in the folder app which won't work

like image 88
LepardUK Avatar answered Oct 26 '25 05:10

LepardUK



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!