From 7489ce7b1ab2a17f9a3750d24e02f58f4ea807ba Mon Sep 17 00:00:00 2001 From: "alpha2phi@gmail.com" Date: Mon, 30 Sep 2024 11:38:11 +0800 Subject: [PATCH] fix: build command --- .../azure-static-web-apps-gentle-bush-0a37d5800.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/azure-static-web-apps-gentle-bush-0a37d5800.yml b/.github/workflows/azure-static-web-apps-gentle-bush-0a37d5800.yml index 1c24a5f..c340d1d 100644 --- a/.github/workflows/azure-static-web-apps-gentle-bush-0a37d5800.yml +++ b/.github/workflows/azure-static-web-apps-gentle-bush-0a37d5800.yml @@ -28,11 +28,11 @@ jobs: - name: Install pnpm run: npm install -g pnpm - - name: Install dependencies - run: pnpm install + # - name: Install dependencies + # run: pnpm install - - name: Build project - run: pnpm run build + # - name: Build project + # run: pnpm run build - name: Build And Deploy id: builddeploy @@ -45,7 +45,8 @@ jobs: # 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 - skip_app_build: true + app_build_command: "pnpm install && pnpm run build" + skip_app_build: false output_location: "dist" # Built app content directory - optional ###### End of Repository/Build Configurations ######