diff --git a/src/Azure.Functions.Cli/Actions/AzureActions/PublishFunctionAppAction.cs b/src/Azure.Functions.Cli/Actions/AzureActions/PublishFunctionAppAction.cs index e011a51b0..e56536162 100644 --- a/src/Azure.Functions.Cli/Actions/AzureActions/PublishFunctionAppAction.cs +++ b/src/Azure.Functions.Cli/Actions/AzureActions/PublishFunctionAppAction.cs @@ -371,7 +371,7 @@ private async Task PublishRunFromPackage(Site functionApp, Stream packageStream, ColoredConsole.WriteLine("Upload completed successfully."); // Set app setting - await SetRunFromPackageAppSetting(functionApp, sas); + await SetRunFromPackageAppSetting(functionApp, sas, enableMount: fileName.EndsWith("squashfs")); ColoredConsole.WriteLine("Deployment completed successfully."); } @@ -429,7 +429,7 @@ private async Task WaitForAppSettingUpdateSCM(Site functionApp, IDictionary