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

###
# ./deploy.sh -v
# https://github.com/X1011/git-directory-deploy
#
###
if [ $GH_TOKEN != "" ]
then
	if [ $GH_OWNER = "" ] || [ $GH_PROJECT_NAME = "" ]
	then
	echo "You have defined GH_TOKEN variable"
		echo "You need to define the following variables: GH_OWNER GH_PROJECT_NAME"
		echo "(GH_OWNER=$GH_OWNER GH_PROJECT_NAME=$GH_PROJECT_NAME)"
		exit -1
	fi
	repo=https://$GH_TOKEN@github.com/$GH_OWNER/$GH_PROJECT_NAME.git
else
	repo=origin
fi

set -o errexit #abort if any command fails

deploy_directory=dist
deploy_branch=gh-pages
<commit_msg>small changes according to https://github.com/X1011/git-directory-deploy/pull/8<commit_after>#!/usr/bin/env bash

set -o errexit #abort if any command fails

###
# ./deploy.sh -v
# https://github.com/X1011/git-directory-deploy/pull/8
#
###
if [ $GH_TOKEN != "" ]
then
	if [ $GH_OWNER = "" ] || [ $GH_PROJECT_NAME = "" ]
	then
		echo "You have defined GH_TOKEN variable"
		echo "You need to define the following variables: GH_OWNER GH_PROJECT_NAME"
		echo "(GH_OWNER=$GH_OWNER GH_PROJECT_NAME=$GH_PROJECT_NAME)"
		exit -1
	fi
	repo=https://$GH_TOKEN@github.com/$GH_OWNER/$GH_PROJECT_NAME.git
else
	repo=origin
fi

deploy_directory=dist
deploy_branch=gh-pages

{'fraction_non_alphanumeric': 0.14170692431561996, 'fraction_numerical': 0.01288244766505636, 'mean_word_length': 4.524444444444445, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 5, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '6789218', 'n_tokens_mistral': 535, 'n_tokens_neox': 482, 'n_words': 100}