# 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 : WEBSITE_RUN_FROM_ZIP=https://REMOVED.blob.core.windows.net/michael-test/MichaelSampleApp.zip?st=2018-06-24T22%3A16%3A40Z&se=2018-06-25T22%3A16%3A40Z&sp=rl&sv=2017-07-29&sr=b&sig=01h%3D

Now gives your site a couple of seconds and you should see your site that was deployed via a zip file.