Skip to content

Commit 00d374d

Browse files
committed
update build command
1 parent bce1dea commit 00d374d

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

amplify.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
version: 1
2+
backend:
3+
phases:
4+
preBuild:
5+
commands:
6+
- npm i
7+
build:
8+
commands:
9+
- '# Execute Amplify CLI with the helper script'
10+
- amplifyPush --simple
11+
frontend:
12+
phases:
13+
build:
14+
commands:
15+
- npm run build
16+
artifacts:
17+
baseDirectory: build
18+
files:
19+
- '**/*'
20+
cache:
21+
paths:
22+
- node_modules/**/*

0 commit comments

Comments
 (0)