-
Notifications
You must be signed in to change notification settings - Fork 44
/
azure.yaml
28 lines (27 loc) · 945 Bytes
/
azure.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-dev/main/schemas/v1.0/azure.yaml.json
name: azure-search-openai-demo
metadata:
template: [email protected]
hooks:
postprovision:
windows:
shell: pwsh
run: ./scripts/deploy.ps1
interactive: true
continueOnError: false
posix:
shell: sh
run: ./scripts/deploy.sh
interactive: true
continueOnError: false
predeploy:
windows:
shell: pwsh
run: cd ./app/frontend;npm install;npm run build && cd ../backend;func azure functionapp publish $AZURE_FUNCTION_NAME --python
interactive: true
continueOnError: false
posix:
shell: sh
run: cd ./app/frontend;npm install;npm run build && cd ../backend;func azure functionapp publish $AZURE_FUNCTION_NAME --python
interactive: true
continueOnError: false