Publishing function app from GitHub folder
For very simple functions, I really liked just hacking them in the Azure portal. This is super brittle, however, since changes that break the app can't be undone. Great for learning, not so much once you start depending on those functions.
And App Service build service as the build provider:
Turns out you can just add an application setting to the function app, named
DEPLOYMENT_SOURCE, pointing to the right subfolder (i.e.
.\apiin my case) and that's it! Here you can see it in action in the logs, where just the
redirsubfolder is being sync'ed to the
wwwrootfor the function app: