<commit_before>#!/usr/bin/env bash

git stash save 'Before deploy' # Stash all changes before deploy
git checkout master
npm run build
cp dist/vue-avatar.min.js gh-pages/
git add gh-pages/vue-avatar.min.js
git commit -m "Deploy docs"
RESULT=$?
if [ $RESULT -eq 0 ]; then
  echo ' >> Changes Committed << '
fi
git subtree push --prefix gh-pages origin gh-pages # Deploy gh-pages
git push origin master
git stash pop # And restore the changes
echo ' >> Deployed << '<commit_msg>update deploy script<commit_after>#!/usr/bin/env bash

git stash save 'Before deploy' # Stash all changes before deploy
git checkout master
yarn docs
git commit -m "Deploy docs"
RESULT=$?
if [ $RESULT -eq 0 ]; then
  echo ' >> Changes Committed << '
fi
git subtree push --prefix docs origin gh-pages # Deploy gh-pages
git push origin master
git stash pop # And restore the changes
echo ' >> Deployed << '
{'fraction_non_alphanumeric': 0.10454545454545454, 'fraction_numerical': 0.0022727272727272726, 'mean_word_length': 3.949438202247191, 'pattern_counts': {'":': 0, '<': 11, '<?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': '4072283', 'n_tokens_mistral': 291, 'n_tokens_neox': 272, 'n_words': 117}