<commit_before>echo "build here"
echo "compile new static content"
make release
BUILD_WWW=`make build_www`

# cf.
# http://markbucciarelli.com/posts/2019-01-26_how-to-push-to-github-from-travis-ci.html
# https://stackoverflow.com/questions/18935539/authenticate-with-github-using-a-token/22977235#22977235
echo "set up private key to push to hazel-build"
openssl aes-256-cbc -k "$travis_key_password" -d -md sha256 -a -in hazel-build-key.enc -out hazel-build-key

echo "chmod hazel-build-key"
chmod 600 hazel-build-key
echo "ssh-add hazel-build-key"
eval `ssh-agent -s`
ssh-add hazel-build-key

echo "git clone"
git clone <EMAIL>:hazelgrove/hazel-build.git
echo "git config"
git config --global user.email "<EMAIL>"
git config --global user.name "Push From Travis"
echo "move to hazel-build"
cd hazel-build

echo "clear contents of subdir $TRAVIS_BRANCH"
if [ -d "$TRAVIS_BRANCH" ]
then
  echo "subdir found, clearing contents"
  rm -rf $TRAVIS_BRANCH
  mkdir "$TRAVIS_BRANCH"
else
  echo "subdir not found, creating new"
  mkdir "$TRAVIS_BRANCH"
fi
echo "cp new build contents into subdir"
cp -r ../$BUILD_WWW/* $TRAVIS_BRANCH

echo "git add"
git add .<commit_msg>[travis-ci] Fix renamed repository: `hazel-build` -> `build`<commit_after>echo "build here"
echo "compile new static content"
make release
BUILD_WWW=`make build_www`

# cf.
# http://markbucciarelli.com/posts/2019-01-26_how-to-push-to-github-from-travis-ci.html
# https://stackoverflow.com/questions/18935539/authenticate-with-github-using-a-token/22977235#22977235
echo "set up private key to push to hazel-build"
openssl aes-256-cbc -k "$travis_key_password" -d -md sha256 -a -in hazel-build-key.enc -out hazel-build-key

echo "chmod hazel-build-key"
chmod 600 hazel-build-key
echo "ssh-add hazel-build-key"
eval `ssh-agent -s`
ssh-add hazel-build-key

echo "git clone"
git clone <EMAIL>:hazelgrove/build.git
echo "git config"
git config --global user.email "<EMAIL>"
git config --global user.name "Push From Travis"
echo "move to hazel-build"
cd hazel-build

echo "clear contents of subdir $TRAVIS_BRANCH"
if [ -d "$TRAVIS_BRANCH" ]
then
  echo "subdir found, clearing contents"
  rm -rf $TRAVIS_BRANCH
  mkdir "$TRAVIS_BRANCH"
else
  echo "subdir not found, creating new"
  mkdir "$TRAVIS_BRANCH"
fi
echo "cp new build contents into subdir"
cp -r ../$BUILD_WWW/* $TRAVIS_BRANCH

echo "git add"
git add .
{'fraction_non_alphanumeric': 0.12484183888654576, 'fraction_numerical': 0.03458456347532687, 'mean_word_length': 4.378684807256236, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 8, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '172676', 'n_tokens_mistral': 979, 'n_tokens_neox': 906, 'n_words': 251}