I'm using the Azure App Service Deploy task, which generates the following YAML (anonymized):
steps:
- task: AzureRmWebAppDeployment@4
displayName: 'Azure App Service Deploy: app-service-name'
inputs:
azureSubscription: SubscriptionName
appType: functionApp
WebAppName: 'app-service-name'
packageForLinux: '$(System.DefaultWorkingDirectory)/artifact_name/drop/$(Build.BuildId).zip'
enableCustomDeployment: true
DeploymentType: runFromZip
The zip file for the build is pulled in successfully, the deploy task runs, and everything appears to succeed. However, azure portal shows that there are no functions in the function app. I tried hitting one of the endpoints that should be created (there are multiple functions in the build), and indeed it doesn't respond.
This is a TypeScript project, so the similar-sounding .Net questions didn't help me.