<commit_before>#!/bin/bash

set -o errexit -o nounset

if [ "${TRAVIS_BRANCH}" != "master" ]
then
  echo "This commit was made against ${TRAVIS_BRANCH}, not master! No deploy!"
  exit 0
fi

rm -rf .git
cd target
rm -rf app.cljs.edn

git init
git config user.name "Travis CI"
git config user.email "<EMAIL>"
git config --global push.default simple
git remote add upstream "https://${GH_TOKEN}@github.com/adolby/adolby.github.io.git"

echo "andrewdolby.com" > CNAME
touch .

git add -A .
git commit -m "Deploy to GitHub Pages - ${TRAVIS_COMMIT}"
git push --force upstream master > /dev/null 2>&1<commit_msg>Print verbose git status<commit_after>#!/bin/bash

set -o errexit -o nounset

if [ "${TRAVIS_BRANCH}" != "master" ]
then
  echo "This commit was made against ${TRAVIS_BRANCH}, not master! No deploy!"
  exit 0
fi

rm -rf .git
cd target
rm -rf app.cljs.edn

git init
git config user.name "Travis CI"
git config user.email "<EMAIL>"
git config --global push.default simple
git remote add upstream "https://${GH_TOKEN}@github.com/adolby/adolby.github.io.git"

echo "andrewdolby.com" > CNAME
touch .

git add -A .
git commit -m "Deploy to GitHub Pages - ${TRAVIS_COMMIT}"
git push --force upstream master
{'fraction_non_alphanumeric': 0.1287375415282392, 'fraction_numerical': 0.0033222591362126247, 'mean_word_length': 3.8785425101214575, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '586979', 'n_tokens_mistral': 460, 'n_tokens_neox': 443, 'n_words': 150}