ci: enable build step in Azure Static Web Apps workflow and skip app build command

This commit is contained in:
Siarhei Bareika 2025-03-17 10:46:08 +01:00
parent e40250dfd9
commit 90d68ea192
No known key found for this signature in database
GPG Key ID: 2D2768C44911298A

View File

@ -31,8 +31,8 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: pnpm install run: pnpm install
# - name: Build - name: Build
# run: pnpm run build run: pnpm run build
- name: Build And Deploy - name: Build And Deploy
id: builddeploy id: builddeploy
@ -40,7 +40,7 @@ jobs:
with: with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_WHITE_MEADOW_0907F6903 }} azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_WHITE_MEADOW_0907F6903 }}
repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments) repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
app_build_command: 'pnpm run build' skip_app_build: true
action: "upload" action: "upload"
###### Repository/Build Configurations - These values can be configured to match your app requirements. ###### ###### 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 # For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig