I tried publishing app multiple times using bellow command on both windows and linux, it was working fine. However, from last few days after migrating function app from dotnet 6 isolated to dotnet 8 isolated it has stopped working for Linux Function App. It works, If I drag and drop the published files to function app from scm/kudu.
Command:
Publish-AzWebapp -ResourceGroupName $resourceGroupName -Name $appName -ArchivePath $fileszip -Force -ErrorVariable LASTEXITCODE
I am trying to publish it only by using powershell and same command should work in azure hosted agent pull CICD.
Saburi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.