<commit_before>version: 2
jobs:
  build:
    environment:
      USER_NAME: rossta
      USER_EMAIL: <EMAIL>
    docker:
      - image: circleci/ruby:2.4.2-node-browsers

    steps:
      - checkout

      - restore_cache:
          keys:
            - gem-cache-{{ .Branch }}-{{ checksum "Gemfile.lock" }}
            - gem-cache-{{ .Branch }}
            - gem-cache

      - run: bundle install --path vendor/bundle

      - save_cache:
          key: gem-cache-{{ .Branch }}-{{ checksum "Gemfile.lock" }}
          paths:
            - vendor/bundle

      - restore_cache:
          keys:
            - yarn-cache-{{ .Branch }}-{{ checksum "yarn.lock" }}
            - yarn-cache-{{ .Branch }}
            - yarn-cache

      - run: yarn install

      - save_cache:
          key: yarn-cache-{{ .Branch }}-{{ checksum "yarn.lock" }}
          paths:
            - node_modules

      - run: git config --global -l # debug
      - run: git config --global user.email <EMAIL>ci<EMAIL>
      - run: git config --global user.name CircleCI
      - run: bundle exec rake deploy

workflows:
  version: 2
  deploy-site:
    jobs:
      - build:
          filters:
            branches:
              only: develop<commit_msg>Use bin/rake instead of bundle exec (fixes build error)<commit_after>version: 2
jobs:
  build:
    environment:
      USER_NAME: rossta
      USER_EMAIL: <EMAIL>
    docker:
      - image: circleci/ruby:2.4.2-node-browsers

    steps:
      - checkout

      - restore_cache:
          keys:
            - gem-cache-{{ .Branch }}-{{ checksum "Gemfile.lock" }}
            - gem-cache-{{ .Branch }}
            - gem-cache

      - run: bundle install --path vendor/bundle

      - save_cache:
          key: gem-cache-{{ .Branch }}-{{ checksum "Gemfile.lock" }}
          paths:
            - vendor/bundle

      - restore_cache:
          keys:
            - yarn-cache-{{ .Branch }}-{{ checksum "yarn.lock" }}
            - yarn-cache-{{ .Branch }}
            - yarn-cache

      - run: yarn install

      - save_cache:
          key: yarn-cache-{{ .Branch }}-{{ checksum "yarn.lock" }}
          paths:
            - node_modules

      - run: git config --global -l # debug
      - run: git config --global user.email <EMAIL>
      - run: git config --global user.name CircleCI
      - run: bin/rake deploy

workflows:
  version: 2
  deploy-site:
    jobs:
      - build:
          filters:
            branches:
              only: develop
{'fraction_non_alphanumeric': 0.13041717294451194, 'fraction_numerical': 0.004050222762251924, 'mean_word_length': 1.4431256181998022, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, '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': '71770', 'n_tokens_mistral': 796, 'n_tokens_neox': 766, 'n_words': 183}