<commit_before>machine:
  node:
    version: 6.10.3

general:
  artifacts:
    - dist

test:
  override:
    - echo 'no tests'

dependencies:
  override:
    - npm install --dev
    - npm install -g gulp

compile:
  override:
  - gulp

deployment:
  prod:
    branch: master
    commands:
      - aws s3 sync dist/ s3://amanda-therapy-website/www/ --delete
      - aws configure set preview.cloudfront true
      - aws cloudfront create-invalidation --distribution-id E2L2WKPDSN8BF3 --paths /index.html<commit_msg>Added cache control header to s3 images<commit_after>machine:
  node:
    version: 6.10.3

general:
  artifacts:
    - dist

test:
  override:
    - echo 'no tests'

dependencies:
  override:
    - npm install --dev
    - npm install -g gulp

compile:
  override:
  - gulp

deployment:
  prod:
    branch: master
    commands:
      - aws s3 sync dist/ s3://amanda-therapy-website/www/ --delete
      - aws s3 cp s3://amanda-therapy-website/www/ s3://amanda-therapy-website/www/ --exclude "*" --include "*.jpg" --include "*.png" --recursive --metadata-directive REPLACE --expires 2034-01-01T00:00:00Z --acl public-read --cache-control max-age=2592000,public
      - aws configure set preview.cloudfront true
      - aws cloudfront create-invalidation --distribution-id E2L2WKPDSN8BF3 --paths /index.html
{'fraction_non_alphanumeric': 0.11845102505694761, 'fraction_numerical': 0.03416856492027335, 'mean_word_length': 2.5525606469002695, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '589275', 'n_tokens_mistral': 480, 'n_tokens_neox': 452, 'n_words': 118}