There are several ways to customize the deployment process. One way is to add a custom deployment script to the root of the repository. When a .deployment
script exists, Azure will run this script as part of the deployment process as detailed here . For instance. you can write a simple script that copies files and directories from your \src\server
subdirectory to the root, for example:
@echo off echo Deploying Functions ... xcopy "%DEPLOYMENT_SOURCE%\src\server" %DEPLOYMENT_TARGET% /Y /S
If you do not want to .deployment
file in your repo, and your requirements are relatively simple, you can also do this using the application settings by adding the application PROJECT
parameter to your functional application with a value that is your subdirectory, for example src\server
.
source share