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