Skip to content

Commit 6f99cf8

Browse files
fix: update branch references from master to main in CI/CD workflow
fix: increase maximum warning size in budgets configuration
1 parent 9a46ab9 commit 6f99cf8

2 files changed

Lines changed: 11 additions & 9 deletions

File tree

.github/workflows/azure-static-web-apps-white-coast-0bb2b5d1e.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ name: Azure Static Web Apps CI/CD
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
pull_request:
88
types: [opened, synchronize, reopened, closed]
99
branches:
10-
- master
10+
- main
1111

1212
jobs:
1313
build_and_deploy_job:
@@ -25,12 +25,12 @@ jobs:
2525
with:
2626
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_WHITE_COAST_0BB2B5D1E }}
2727
repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
28-
action: "upload"
28+
action: 'upload'
2929
###### Repository/Build Configurations - These values can be configured to match your app requirements. ######
3030
# For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig
31-
app_location: "/" # App source code path
32-
api_location: "api" # Api source code path - optional
33-
output_location: "dist/IntelliTect-Sql-Mcp-Configuration" # Built app content directory - optional
31+
app_location: '/' # App source code path
32+
api_location: 'api' # Api source code path - optional
33+
output_location: 'dist/IntelliTect-Sql-Mcp-Configuration/browser' # Built app content directory - optional
3434
###### End of Repository/Build Configurations ######
3535

3636
close_pull_request_job:
@@ -43,4 +43,4 @@ jobs:
4343
uses: Azure/static-web-apps-deploy@v1
4444
with:
4545
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_WHITE_COAST_0BB2B5D1E }}
46-
action: "close"
46+
action: 'close'

angular.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
"build": {
2121
"builder": "@angular/build:application",
2222
"options": {
23+
"outputPath": "dist/IntelliTect-Sql-Mcp-Configuration",
24+
"index": "src/index.html",
2325
"browser": "src/main.ts",
2426
"tsConfig": "tsconfig.app.json",
2527
"inlineStyleLanguage": "scss",
@@ -40,7 +42,7 @@
4042
"budgets": [
4143
{
4244
"type": "initial",
43-
"maximumWarning": "500kB",
45+
"maximumWarning": "600kB",
4446
"maximumError": "1MB"
4547
},
4648
{
@@ -77,4 +79,4 @@
7779
}
7880
}
7981
}
80-
}
82+
}

0 commit comments

Comments
 (0)