-
Notifications
You must be signed in to change notification settings - Fork 0
/
amplify.yml
29 lines (29 loc) · 987 Bytes
/
amplify.yml
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
version: 1
applications:
- frontend:
phases:
preBuild:
commands:
- nvm install 16.14.2
- nvm use 16.14.2
- npm install
build:
commands:
- REACT_APP_CONTRACT=${REACT_APP_CONTRACT}
- REACT_APP_NEAR_ENV=${REACT_APP_NEAR_ENV}
- REACT_APP_API_TG=${REACT_APP_API_TG}
- REACT_APP_MINTER_CONTRACT=${REACT_APP_MINTER_CONTRACT}
- REACT_APP_FEE_CREATE_COL=${REACT_APP_FEE_CREATE_COL}
- REACT_APP_FEE_CREATE_NFT=${REACT_APP_FEE_CREATE_NFT}
- REACT_APP_FEE_OFFERS=${REACT_APP_FEE_OFFERS}
- REACT_APP_PINATA_API_KEY=${REACT_APP_PINATA_API_KEY}
- REACT_APP_PINATA_API_SECRET=${REACT_APP_PINATA_API_SECRET}
- npm run build-prod-tailwind
- npm run build
artifacts:
baseDirectory: build
files:
- '**/*'
cache:
paths:
- node_modules/**/*