Azure Function deploy folder or files directly to tmp

James, Mark 55 Reputation points
2023-01-13T16:58:09.5566667+00:00

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)

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
2,780 questions
{count} votes

Accepted answer
  1. MughundhanRaveendran-MSFT 12,126 Reputation points Microsoft Employee
    2023-01-18T14:40:40.93+00:00

    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.

    User's image

    1 person found this answer helpful.
    No comments

0 additional answers

Sort by: Oldest