version: 0.2

phases:
  build:
    commands:
      - aws --version
      - node -v
      - ls
      - npm install
      - npm install -g @angular/cli
      - ng build
      - cd dist/static-frontend-angularjs
      - echo aws s3 cp ./ s3://$DEST_BUCKET_NAME/$CODEBUILD_RESOLVED_SOURCE_VERSION/ --recursive #don't change this line
      - aws s3 cp ./ s3://$DEST_BUCKET_NAME/$CODEBUILD_RESOLVED_SOURCE_VERSION/ --recursive #don't change this line







