Skip to content

Commit cb77493

Browse files
Fix Azure Static Web Apps build configuration
1 parent 45069a3 commit cb77493

1 file changed

Lines changed: 1 addition & 13 deletions

File tree

.github/workflows/azure-static-web-apps-ambitious-mud-023d30d10.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,6 @@ jobs:
2020
submodules: true
2121
lfs: false
2222

23-
- name: Setup Node.js
24-
uses: actions/setup-node@v4
25-
with:
26-
node-version: '20'
27-
cache: 'npm'
28-
29-
- name: Install dependencies
30-
run: npm ci
31-
32-
- name: Build Angular app
33-
run: npm run build
34-
3523
- name: Build And Deploy
3624
id: builddeploy
3725
uses: Azure/static-web-apps-deploy@v1
@@ -44,7 +32,7 @@ jobs:
4432
app_location: "/" # App source code path
4533
api_location: "" # Api source code path - optional
4634
output_location: "dist/lib-reader/browser" # Built app content directory - optional
47-
skip_app_build: true # Skip Azure's auto-build since we're building manually
35+
app_build_command: "npm run build"
4836
###### End of Repository/Build Configurations ######
4937

5038
close_pull_request_job:

0 commit comments

Comments
 (0)