<commit_before>language: node_js
node_js: 11.10.0
before_install:
  - echo -e $BRANDING_KEY | base64 -d > ~/.ssh/id_rsa
  - chmod 600 ~/.ssh/id_rsa
  - git clone <EMAIL>:impactasaurus/branding.git ./branding
install:
  - npm ci
script:
  - npm run lint
  - npm test
env:
  - NODE_ENV=ci
before_deploy: "npm run build:prod"
deploy:
  provider: s3
  access_key_id: <KEY>
  secret_access_key:
    secure: <KEY>
  bucket: impact-web-app
  local_dir: build
  acl: public_read
  skip_cleanup: true
  on:
    repo: impactasaurus/app
    branch: master
after_deploy:<commit_msg>#560 fixing branding checkout during build<commit_after>language: node_js
node_js: 11.10.0
before_install:
  - echo -e $BRANDING_KEY | base64 -d > ~/.ssh/id_rsa
  - chmod 600 ~/.ssh/id_rsa
  - rm -rf ./src/branding
  - git clone <EMAIL>:impactasaurus/branding.git ./src/branding
install:
  - npm ci
script:
  - npm run lint
  - npm test
env:
  - NODE_ENV=ci
before_deploy: "npm run build:prod"
deploy:
  provider: s3
  access_key_id: <KEY>
  secret_access_key:
    secure: <KEY>
  bucket: impact-web-app
  local_dir: build
  acl: public_read
  skip_cleanup: true
  on:
    repo: impactasaurus/app
    branch: master
after_deploy:
{'fraction_non_alphanumeric': 0.11092577147623019, 'fraction_numerical': 0.020850708924103418, 'mean_word_length': 3.347826086956522, 'pattern_counts': {'":': 0, '<': 9, '<?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': '164688', 'n_tokens_mistral': 508, 'n_tokens_neox': 465, 'n_words': 117}