From 41efb4e5ee0cf93950ba3e392915bb44138a162e Mon Sep 17 00:00:00 2001 From: Bo Clifton <102168009+boclifton-MSFT@users.noreply.github.com> Date: Thu, 30 Mar 2023 15:59:18 -0500 Subject: [PATCH] add app_build_command and set api_location in build --- .../azure-static-web-apps-orange-pebble-08a070210.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/azure-static-web-apps-orange-pebble-08a070210.yml b/.github/workflows/azure-static-web-apps-orange-pebble-08a070210.yml index 36da08e..bd0601f 100644 --- a/.github/workflows/azure-static-web-apps-orange-pebble-08a070210.yml +++ b/.github/workflows/azure-static-web-apps-orange-pebble-08a070210.yml @@ -27,8 +27,9 @@ jobs: action: "upload" ###### Repository/Build Configurations - These values can be configured to match your app requirements. ###### # For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig - app_location: "/" # App source code path - api_location: "" # Api source code path - optional + app_build_command: "npm run build" + app_location: "/" # App source code path + api_location: ".output/server" # Api source code path - optional output_location: ".output/public" # Built app content directory - optional ###### End of Repository/Build Configurations ######