Skip to content

Commit d9b76f3

Browse files
committed
Update deployment paths and reformat config for readability
Changed app_location and output_location in azure-static-web-app.yml to "output/wwwroot" to match new build output directory. Reformatted the exclude array in staticwebapp.config.json for better readability; no functional changes made.
1 parent 85c72fc commit d9b76f3

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

.github/workflows/azure-static-web-app.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ jobs:
6060
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_WITTY_FOREST_0C3A9ED10 }}
6161
repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
6262
action: "upload"
63-
app_location: "/" # Path to your .csproj folder
63+
app_location: "output/wwwroot" # Path to your .csproj folder
6464
api_location: "" # Leave empty if no API
65-
output_location: "wwwroot"
65+
output_location: "output/wwwroot"
6666
skip_api_build: true
6767
skip_app_build: true
6868

BlazorExpress.ChartJS.Demo.WebAssembly/wwwroot/staticwebapp.config.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
{
22
"navigationFallback": {
33
"rewrite": "/index.html",
4-
"exclude": [ "/_framework/*", "/css/*", "/js/*", "/_content/*" ]
4+
"exclude": [
5+
"/_framework/*",
6+
"/css/*",
7+
"/js/*",
8+
"/_content/*"
9+
]
510
},
611
"mimeTypes": {
712
".js": "application/javascript",

0 commit comments

Comments
 (0)