Github ActionsでAzure Functionsをデプロイした時にエラーが出た

エラーの内容は以下

Run Azure/functions-action@v1
Successfully parsed SCM credential from publish-profile format.
Using SCM credential for authentication, GitHub Action will not perform resource validation.
Successfully acquired app settings from function app (with SCM credential)!
Will archive . into /home/runner/work/_temp/temp_web_package_5628167653339298.zip as function app content
Will use Kudu https:///api/zipdeploy to deploy since publish-profile is detected.
Error: Execution Exception (state: PublishContent) (step: Invocation)
Error: When request Azure resource at PublishContent, zipDepoy : WEBSITE_RUN_FROM_PACKAGE in your function app is set to an URL. Please remove WEBSITE_RUN_FROM_PACKAGE app setting from your function app.
Error: Deployment Failed!

解消方法

言われた通りWEBSITE_RUN_FROM_PACKAGEを消します。

Portalから消す場合は、Functionsの構成情報にあるので消します。
ゴミ箱マークを押した後に保存ボタンを押すのを忘れないようにしましょう。