<commit_before>#!/bin/sh

printf "== Deploying to api.carlbennett.me =============================================\n"

printf "==== Syncing source code =======================================================\n"
rsync -Oprtvz --exclude='.git/' --exclude='.gitignore' --exclude='settings.sample.json' . <EMAIL>:/home/nginx/carlbennett-api
printf "==== Changing user and group ownership =========================================\n"
ssh root@car<EMAIL> chown nginx:webusers -Rv /home/nginx/carlbennett-api | grep -v "^ownership of .* retained as .*$"

printf "== Deployments done ============================================================\n"
<commit_msg>Add a couple more exclusions to deploy script.<commit_after>#!/bin/sh

printf "== Deploying to api.carlbennett.me =============================================\n"

printf "==== Syncing source code =======================================================\n"
rsync -Oprtvz --exclude='.git/' --exclude='.gitignore' --exclude='deploy.sh' --exclude 'README.md' --exclude='settings.sample.json' . root@car<EMAIL>:/home/nginx/carlbennett-api
printf "==== Changing user and group ownership =========================================\n"
ssh root@car<EMAIL>.me chown nginx:webusers -Rv /home/nginx/carlbennett-api | grep -v "^ownership of .* retained as .*$"

printf "== Deployments done ============================================================\n"

{'fraction_non_alphanumeric': 0.41522988505747127, 'fraction_numerical': 0.0, 'mean_word_length': 6.449197860962567, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '552373', 'n_tokens_mistral': 419, 'n_tokens_neox': 379, 'n_words': 90}