-
Notifications
You must be signed in to change notification settings - Fork 136
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.scmDoBuildDuringDeployment
totrue
- Set
azureFunctions.deploySubpath
to.
- Remove
azureFunctions.preDeployTask
if it exists
NOTE: The Function App in Azure must have been created after August 1st, 2019 to support this
- Remove
azureFunctions.scmDoBuildDuringDeployment
if it exists - Set
azureFunctions.deploySubpath
to<Name of folder containing project>.zip
- Set
azureFunctions.preDeployTask
tofunc: pack