Skip to content

Commit 57599a5

Browse files
committed
refactor: simplify azd hooks
1 parent a7c93e0 commit 57599a5

File tree

1 file changed

+3
-18
lines changed

1 file changed

+3
-18
lines changed

azure.yaml

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,7 @@ services:
2323
# Needed to get the BURGER_API_URL env var set
2424
hooks:
2525
predeploy:
26-
windows:
27-
shell: pwsh
28-
run: npm run build
29-
posix:
30-
shell: sh
31-
run: npm run build
26+
run: npm run build
3227

3328
agent-api:
3429
project: ./packages/agent-api
@@ -43,16 +38,6 @@ services:
4338

4439
hooks:
4540
postprovision:
46-
windows:
47-
shell: pwsh
48-
run: azd env get-values > .env
49-
posix:
50-
shell: sh
51-
run: azd env get-values > .env
41+
run: azd env get-values > .env
5242
postup:
53-
windows:
54-
shell: pwsh
55-
run: npm run -s env
56-
posix:
57-
shell: sh
58-
run: npm run -s env
43+
run: npm run -s env

0 commit comments

Comments
 (0)