Skip to content

Commit 46b3d6a

Browse files
authored
Fix hook for App Service (#1993)
1 parent 0225f75 commit 46b3d6a

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

azure.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,23 @@ services:
99
language: py
1010
# Please check docs/azure_container_apps.md for more information on how to deploy to Azure Container Apps
1111
# host: containerapp
12+
# docker:
13+
# remoteBuild: true
1214
host: appservice
1315
hooks:
16+
# This hook is called when App Service is the host
17+
prepackage:
18+
windows:
19+
shell: pwsh
20+
run: cd ../frontend;npm install;npm run build
21+
interactive: false
22+
continueOnError: false
23+
posix:
24+
shell: sh
25+
run: cd ../frontend;npm install;npm run build
26+
interactive: false
27+
continueOnError: false
28+
# This hook is called when Azure Container Apps is the host
1429
prebuild:
1530
windows:
1631
shell: pwsh

0 commit comments

Comments
 (0)