-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuildspec.yaml
36 lines (31 loc) · 878 Bytes
/
buildspec.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
33
34
35
36
version: 0.2
env:
variables:
NODE_ENV: "${env}"
parameter-store:
REACT_APP_INTER_PRISON_TRANSFER_MAP_BOX_KEY: REACT_APP_INTER_PRISON_TRANSFER_MAP_BOX_KEY
REACT_APP_INTER_PRISON_TRANSFER_MAP_BOX_ID: REACT_APP_INTER_PRISON_TRANSFER_MAP_BOX_ID
REACT_APP_INTER_PRISON_TRANSFERS_CLOUD_STORAGE: REACT_APP_INTER_PRISON_TRANSFERS_CLOUD_STORAGE
exported-variables:
- REACT_APP_INTER_PRISON_TRANSFER_MAP_BOX_KEY
- REACT_APP_INTER_PRISON_TRANSFER_MAP_BOX_ID
- REACT_APP_INTER_PRISON_TRANSFERS_CLOUD_STORAGE
phases:
install:
runtime-versions:
nodejs: 14
commands:
- echo installing . . .
- yarn install
build:
commands:
- echo Starting build . . .
- yarn run build
artifacts:
files:
- '**/*'
name: "web-dist-$(date +%Y-%m-%d)"
base-directory: build
cache:
paths:
- /root/.npm/**/*