diff --git a/buildspec.yml b/buildspec.yml new file mode 100644 index 0000000..c1849ed --- /dev/null +++ b/buildspec.yml @@ -0,0 +1,23 @@ +version: 0.2 +phases: + install: + runtime-versions: + nodejs: 10 + pre_build: + commands: + - echo Installing source NPM dependencies... + - npm install + - npm install -g @angular/cli + build: + commands: + - echo Build started on `date` + - ng build --prod --aot + post_build: + commands: + - aws s3 sync dist/pips ${S3_BUCKET} + - echo Build completed on `date` +artifacts: + files: + - '**/*' + base-directory: 'dist*' + discard-paths: yes \ No newline at end of file