Skip to content

Commit da7e874

Browse files
Update azure-static-web-apps-orange-water-0badfae10.yml
1 parent 34099be commit da7e874

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/azure-static-web-apps-orange-water-0badfae10.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,13 @@ jobs:
4747
- name: Install WASM Tools workload
4848
run: dotnet workload install wasm-tools
4949

50-
- name: Publish Blazor WebAssembly (Release with AOT support)
51-
run: dotnet publish ./Client -c Release -o build
50+
- name: Publish Blazor WebAssembly Client
51+
run: dotnet publish ./Client -c Release -o build/client
5252

53-
- name: List published files (optional)
53+
- name: Publish Azure Function API
54+
run: dotnet publish ./Api -c Release -o build/api
55+
56+
- name: List Published Files (optional)
5457
run: ls -R build
5558

5659
- name: Build and Deploy to Azure Static Web Apps
@@ -59,7 +62,8 @@ jobs:
5962
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_ORANGE_WATER_0BADFAE10 }}
6063
repo_token: ${{ secrets.GITHUB_TOKEN }}
6164
action: upload
62-
app_location: build
65+
app_location: build/client
66+
api_location: build/api
6367
output_location: wwwroot
6468

6569
close_pull_request_job:

0 commit comments

Comments
 (0)