<commit_before>bundler_args: --deployment --without development
cache:
  bundler: true
  directories:
  - $(rvm gemdir)
  - build
  - node_modules
env:
  global:
  # CloudFront distribution ID
  - secure: "<KEY>
  # AWS access key ID
  - secure: "<KEY>
  # AWS secret access key
  - secure: "<KEY>
  - AWS_S3_BUCKET=style.chef.io
  - AWS_DEFAULT_REGION=us-west-1
  - SPEC_OPTS="--format doc"
before_script:
- npm install
script:
- bundle exec rake test
- bundle exec rake publish
sudo: false
deploy:
  - provider: releases
    api_key:
      secure: "<KEY>
    file_glob: true
    file:
    - chef-web-core-*.tgz
    skip_cleanup: true
    on:
      tags: true
      repo: chef/chef-web-core
  - provider: s3
    access_key_id: $AWS_ACCESS_KEY_ID
    secret_access_key: $AWS_SECRET_ACCESS_KEY
    bucket: $AWS_S3_BUCKET
    local-dir: dist
    upload-dir: dist/$TRAVIS_TAG
    acl: public_read
    skip_cleanup: true
    on:
      tags: true
      repo: chef/chef-web-core
<commit_msg>Re-encrypt Cloudfront distribution ID<commit_after>bundler_args: --deployment --without development
cache:
  bundler: true
  directories:
  - $(rvm gemdir)
  - build
  - node_modules
env:
  global:
  # CloudFront distribution ID
  - secure: "<KEY>
  # AWS access key ID
  - secure: "<KEY>
  # AWS secret access key
  - secure: "<KEY>
  - AWS_S3_BUCKET=style.chef.io
  - AWS_DEFAULT_REGION=us-west-1
  - SPEC_OPTS="--format doc"
before_script:
- npm install
script:
- bundle exec rake test
- bundle exec rake publish
sudo: false
deploy:
  - provider: releases
    api_key:
      secure: "<KEY>
    file_glob: true
    file:
    - chef-web-core-*.tgz
    skip_cleanup: true
    on:
      tags: true
      repo: chef/chef-web-core
  - provider: s3
    access_key_id: $AWS_ACCESS_KEY_ID
    secret_access_key: $AWS_SECRET_ACCESS_KEY
    bucket: $AWS_S3_BUCKET
    local-dir: dist
    upload-dir: dist/$TRAVIS_TAG
    acl: public_read
    skip_cleanup: true
    on:
      tags: true
      repo: chef/chef-web-core

{'fraction_non_alphanumeric': 0.10280842527582748, 'fraction_numerical': 0.004012036108324975, 'mean_word_length': 2.7570621468926553, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '1813100', 'n_tokens_mistral': 742, 'n_tokens_neox': 737, 'n_words': 177}