forked from Azure/gpt-rag-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure.yaml
32 lines (31 loc) · 1004 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
29
30
31
32
# yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-dev/main/schemas/v1.0/azure.yaml.json
name: azure-gpt-rag
metadata:
template: azure-gpt-rag-frontend
services:
frontend:
project: ./backend
language: python
host: appservice
hooks:
prepackage:
windows:
shell: pwsh
run: cd ../frontend;npm install;npm run build
interactive: false
continueOnError: false
posix:
shell: sh
run: cd ../frontend;npm install;npm run build
interactive: false
continueOnError: false
# infrastructure is pulled from the main azure-gpt-rag repo with a hook.
# If you previously provisioned infrastructure, use the same azd-env name, subscription and location to deploy data ingest to that infrastructure.
hooks:
preprovision:
posix:
run: scripts/preprovision.sh
interactive: true
windows:
run: scripts/preprovision.ps1
interactive: true