-
Notifications
You must be signed in to change notification settings - Fork 146
Remote Build
Eric Jizba edited this page Oct 11, 2019
·
2 revisions
Starting after August 1st, 2019, Function Apps created in Azure support building Python projects remotely. This allows you to deploy just source code without having to install extra tooling on your local machine just to build. New projects will default to remote build, but you can configure any project for either option by modifying your .vscode/settings.json file accordingly:
- Set
azureFunctions.scmDoBuildDuringDeploymenttotrue - Set
azureFunctions.deploySubpathto. - Remove
azureFunctions.preDeployTaskif it exists
NOTE: The Function App in Azure must have been created after August 1st, 2019 to support this
- Remove
azureFunctions.scmDoBuildDuringDeploymentif it exists - Set
azureFunctions.deploySubpathto<Name of folder containing project>.zip - Set
azureFunctions.preDeployTasktofunc: pack