Fix Functions App deployment errors
Opened this issue · 1 comments
Deployment of the Functions App often fails with the following error:
When request Azure resource at PublishContent, Sync Trigger Functionapp : Failed to perform sync trigger on function app. Function app may have malformed content. Please manually restart your function app and inspect the package from WEBSITE_RUN_FROM_PACKAGE.
Based on this comment, it seems that Zip Deploy is recommend over the RBAC deployment we're currently using.
I previously switched away from Zip Deploy due to #11, it seems that this is still an issue as the same error occurred after 2f9d16b was deployed:
System.Diagnostics.Process: An error occurred trying to start process '/home/site/wwwroot/bin/.playwright/node/linux-x64/playwright.sh' with working directory '/'. Permission denied.