We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94fd211 commit 4ec2f68Copy full SHA for 4ec2f68
buildspec.yaml
@@ -10,6 +10,8 @@ phases:
10
install:
11
runtime-versions:
12
nodejs: 14
13
+ commands:
14
+ - pip3 install aws-sam-cli --upgrade --user
15
pre_build:
16
commands:
17
- NODE_ENV=development npm ci
@@ -20,6 +22,7 @@ phases:
20
22
- npm run build
21
23
post_build:
24
25
+ - bash -c "if [ /"$CODEBUILD_BUILD_SUCCEEDING/" == /"0/" ]; then exit 1; fi" # check if build was successful. exit otherwise.
26
- npm run deploy
27
artifacts:
28
files:
0 commit comments