The serverless-azure-functions
plugin can deploy a Function App as well as other resources (storage account, App Insights, API Management, etc.). Here is some guidance on using the deploy
command.
The Serverless Framework translates all syntax in serverless.yml
to an Azure Resource Manager Template and Azure function bindings
- Provider plugin parses
serverless.yml
configuration and translates to Azure resources. - The code of your Functions is then packaged into a directory and zipped.
- Resources are deployed in the following order: ARM template, Functions
Note: Recommended for Function Apps running on Windows
Current default behavior. To set explicitly in serverless.yml
, add this section:
deploy:
runFromBlobUrl: false
Note: Not currently recommended for Function Apps running on Windows
To set in serverless.yml
, add this section:
deploy:
runFromBlobUrl: true
Visit the docs for more detail on the two approaches to deployment.
By default, the rollback
functionality is enabled. This allows for users to revert to a previous deployment should something go wrong with the current release. See our rollback docs for more detail.
Check out the deploy command docs for all details and options.