Unfortunately, function app deploy task in devops and deployment via github action doesnt have an option to specify the destination folder path. However you can place files in the temp folder if you access the kudu site via ftp or directly drag and drop the files in the Kudu folder structure as shown below. Please note that, contents of temp folder (c:/temp) gets automatically deleted in 24 hours.
Azure Function deploy folder or files directly to tmp
James, Mark
55
Reputation points
On deplyment of an Azure Function is it possible to place files directly into the tmp folder?
I have a git project that I'd like to place directly into tmp on deployment (Linux OS)