-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathazure.yaml
More file actions
48 lines (47 loc) · 1.2 KB
/
azure.yaml
File metadata and controls
48 lines (47 loc) · 1.2 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
# yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-dev/main/schemas/v1.0/azure.yaml.json
name: cosmos-db-mongodb-vcore-nodejs-quickstart
metadata:
template: cosmos-db-mongodb-vcore-nodejs-quickstart
services:
javascript-api:
project: ./src/js/api
language: docker
host: containerapp
javascript-web:
project: ./src/js/web
language: docker
host: containerapp
typescript-api:
project: ./src/ts/api
language: docker
host: containerapp
typescript-web:
project: ./src/ts/web
language: docker
host: containerapp
pipeline:
provider: github
hooks:
postprovision:
windows:
shell: pwsh
run: |
echo "
SETTINGS__ENDPOINT=""$env:SETTINGS__ENDPOINT""
" > ./src/js/api/.env
echo "
SETTINGS__ENDPOINT=""$env:SETTINGS__ENDPOINT""
" > ./src/ts/api/.env
continueOnError: false
interactive: true
posix:
shell: sh
run: |
echo "
SETTINGS__ENDPOINT=\"$SETTINGS__ENDPOINT\"
" > ./src/js/api/.env
echo "
SETTINGS__ENDPOINT=\"$SETTINGS__ENDPOINT\"
" > ./src/ts/api/.env
continueOnError: false
interactive: true