version: 0.2

phases:
  install:
    commands:
      - chmod +x $CODEBUILD_SRC_DIR/aws/scripts/

  build:
    commands:
      - bash $CODEBUILD_SRC_DIR/aws/scripts/cloudformation.sh ${ENV} lc-classified-cloudfront $CODEBUILD_SRC_DIR/aws/cloudformation/expose.yml

artifacts:
  files:
    - aws/**/*
  discard-paths: yes