<commit_before>#!/usr/bin/env node
/* eslint-disable no-console */

const fetch = require('node-fetch');

const { CIRCLE_BRANCH, FRONTPAGE_WEBHOOK } = process.env;

console.log('build-frontpage');
if (CIRCLE_BRANCH === 'release/5.0') {
  if (FRONTPAGE_WEBHOOK) {
    console.log('triggering frontpage build');
    const url = `https://api.netlify.com/build_hooks/${FRONTPAGE_WEBHOOK}`;<commit_msg>Update frontpage build trigger to master<commit_after>#!/usr/bin/env node
/* eslint-disable no-console */

const fetch = require('node-fetch');

const { CIRCLE_BRANCH, FRONTPAGE_WEBHOOK } = process.env;

console.log('build-frontpage');
if (CIRCLE_BRANCH === 'master') {
  if (FRONTPAGE_WEBHOOK) {
    console.log('triggering frontpage build');
    const url = `https://api.netlify.com/build_hooks/${FRONTPAGE_WEBHOOK}`;
{'fraction_non_alphanumeric': 0.16176470588235295, 'fraction_numerical': 0.0024509803921568627, 'mean_word_length': 5.097014925373134, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '4120817', 'n_tokens_mistral': 309, 'n_tokens_neox': 303, 'n_words': 50}