diff --git a/.github/workflows/azure-static-web-apps-victorious-dune-011fce610.yml b/.github/workflows/azure-static-web-apps-victorious-dune-011fce610.yml index 7d04035fc..66a2c6c36 100644 --- a/.github/workflows/azure-static-web-apps-victorious-dune-011fce610.yml +++ b/.github/workflows/azure-static-web-apps-victorious-dune-011fce610.yml @@ -27,7 +27,7 @@ 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: '/site' # App source code path + app_location: '/' # App source code path api_location: '' # Api source code path - optional output_location: '' # Built app content directory - optional env: # Add environment variables here diff --git a/package.json b/package.json index d6873ba9e..865364770 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "license": "MIT", "private": true, "scripts": { - "build": "turbo run build --filter=next-commerce...", + "build": "npm install pnpm && turbo run build --filter=next-commerce...", "dev": "turbo run dev", "start": "turbo run start", "types": "turbo run types", diff --git a/site/package.json b/site/package.json index bdf7688c0..863922001 100644 --- a/site/package.json +++ b/site/package.json @@ -4,7 +4,7 @@ "license": "MIT", "scripts": { "dev": "next dev", - "build": "next build", + "build": "next build && next export", "start": "next start", "analyze": "BUNDLE_ANALYZE=both next build", "lint": "next lint",