-
Notifications
You must be signed in to change notification settings - Fork 169
Expand file tree
/
Copy pathazure_custom.yaml
More file actions
48 lines (43 loc) · 1.08 KB
/
azure_custom.yaml
File metadata and controls
48 lines (43 loc) · 1.08 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
environment:
name: document-generation
location: eastus
name: document-generation
metadata:
template: document-generation@1.0
requiredVersions:
azd: '>= 1.18.0'
parameters:
solutionPrefix:
type: string
default: bs-azdtest
otherLocation:
type: string
default: eastus2
baseUrl:
type: string
default: 'https://github.com/microsoft/document-generation-solution-accelerator'
services:
webapp:
project: ./src
language: py
host: appservice
dist: ./dist
hooks:
prepackage:
windows:
shell: pwsh
run: ../infra/scripts/package_webapp.ps1
interactive: true
continueOnError: false
posix:
shell: sh
run: bash ../infra/scripts/package_webapp.sh
interactive: true
continueOnError: false
deployment:
mode: Incremental
template: ./infra/main.bicep # Path to the main.bicep file inside the 'deployment' folder
parameters:
solutionPrefix: ${parameters.solutionPrefix}
otherLocation: ${parameters.otherLocation}
baseUrl: ${parameters.baseUrl}