<commit_before>#!/bin/bash

if [ -d output ]; then
    echo '➥ Packing...'
    cd output
    tar zcvf ${output_file} **
    mv ${output_file} ..
    cd ..
    rm -rf output
    
    echo "➥ Commit file [${output_file}]"
    git clone --quiet --branch=deploy https://${GH_TOKEN}@github.com/fouber/ci-test deploy > /dev/null
    mv ${output_file} deploy
    cd deploy
    git config user.email "<EMAIL>"
    git config user.name "travis-ci"
    git add ${output_file}
    git commit -m "release ${output_file}"
    git push origin deploy
else
    echo '➥ Error.'
    exit 1
fi<commit_msg>update yml<commit_after>#!/bin/bash

if [ -d output ]; then
    echo '➥ Packing...'
    cd output
    tar zcvf ${output_file} **
    mv ${output_file} ..
    cd ..
    rm -rf output
    
    echo "➥ Commit file [${output_file}]"
    git config credential.helper "store --file=.git/credentials"
    git config user.email "<EMAIL>"
    git config user.name "travis-ci"
    echo "https://${GH_TOKEN}:@github.com" > .git/credentials
    git fetch origin deploy
    git checkout -b deploy
    git add ${output_file}
    git commit -m "release ${output_file}"
    git push origin deploy
else
    echo '➥ Error.'
    exit 1
fi
{'fraction_non_alphanumeric': 0.13692946058091288, 'fraction_numerical': 0.0016597510373443983, 'mean_word_length': 2.4555873925501435, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '386209', 'n_tokens_mistral': 427, 'n_tokens_neox': 415, 'n_words': 130}