Skip to content

Commit

Permalink
feat: buildspec
Browse files Browse the repository at this point in the history
  • Loading branch information
leoriofrio committed Jun 1, 2020
1 parent 203258d commit a0d441e
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions buildspec.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit a0d441e

Please sign in to comment.