Hello @Miska Wu !
Welcome to Microsoft QnA!
For the issue you are mentioning i think you must verify that the latest package-version is correctly uploaded into Azure Blob Storage
If you have the WEBSITE_RUN_FROM_PACKAGE
setting set to 1
for your function app, then the deployment process will do the following:
- Package your function app into a
.zip
file. - Upload this
.zip
file to an Azure Blob storage associated with the Function App in thedata/SitePackages
directory. - Update the
WEBSITE_RUN_FROM_PACKAGE
application setting with the URL of the uploaded.zip
in the blob storage. This setting tells the Azure Functions runtime to run the app directly from the package file, without unzipping it.
You can check Azure logs , through the portal that the latest version is uploaded and so on !
Now what i am doing is
Create a New Function APP
Open a Folder from VSCode ,create my code
Deploy to Azure Functions , version 3
Make a change
Deploy again , ( Dont forget the Pop up , Copy Settings also !)
Please make sure you have the latest azure funtions core tools installed
Kindly let us know your feedback!
I hope this helps!
Kindly mark the answer as Accepted and Upvote in case it helped!
Regards