I have provisioned a Linux P1V3 app service plan and created an app service. It is running NodeJS 20. All this is via Terraform.
A developer has given me their NextJS website repo which uses pnpm, turbo-repo (not sure what those things are except that pnpm is new npm). I configured another pipeline to install required packages, run pnpm build and create zip archive from the output of the build, which is static site (it is in proper apps/*/out/ folder).
I have used AzureRmWebAppDeployment@5 task to deploy the zip archive. But when I navigate to the site, it shows default start page.
I have also used az webapp deploy to deploy the zip file from my machine but still the same results.
Will anyone be able to point what obvious thing I'm missing here?
Also, can't use static-site as that is not available in allowed region yet.
I'm willing to try a function app if that makes running this easier.
EDIT:- Made the az webapp deploy work after fixing base path in some nextjs settings file before compiling. But deploying via pipeline still not working.

