💡 Learn more : Azure Functions Documentation (opens new window).
# Use Run-From-Zip to deploy a site to Azure Web Apps or Functions
Here is a neat feature that I just discovered dispite it being added about 6 months or so ago. It is the ability to deploy a site to Azure Web Apps or Azure Functions from a zip file.
With Run-From-Zip there is no longer a deployment step which copies the files to wwwroot such as git, ftp, etc. Instead, the zip file that you point to in your App Settings gets mounted on wwwroot as read-only.
To get started:
Using Azure Storage Explorer, create a storage blob container and upload your zip file and select Generate SAS Signature as shown below:
Hit Create and then Copy
Now head back over to the Azure Portal and add an Azure App Setting called
WEBSITE_RUN_FROM_ZIP, and point it to your zip file.
Mine looks like :
Now gives your site a couple of seconds and you should see your site that was deployed via a zip file.