<commit_before>#!/bin/bash
ls -las
abort() {
    local message=$1
    echo $message
    exit -1
}
[ -z $FTP_PASS ] && abort "FTP_PASS is undefined"
[ -z $FTP_USER ] && abort "FTP_USER is undefined"
[ -z $FTP_SITE ] && abort "FTP_SITE is undefined"

if [ "$TRAVIS_BRANCH" == "master" ]; then
  lftp -u $FTP_USER,$FTP_PASS $FTP_SITE \
   -e 'mirror -c -e -R source ~ ; exit'
fi<commit_msg>FIX: directory for deployment<commit_after>#!/bin/bash
abort() {
    local message=$1
    echo $message
    exit -1
}
[ -z $FTP_PASS ] && abort "FTP_PASS is undefined"
[ -z $FTP_USER ] && abort "FTP_USER is undefined"
[ -z $FTP_SITE ] && abort "FTP_SITE is undefined"

if [ "$TRAVIS_BRANCH" == "master" ]; then
  lftp -u $FTP_USER,$FTP_PASS $FTP_SITE \
   -e 'mirror -c -e -R public ~ ; exit'
else
  echo "no deployment on other branches than master."
fi
{'fraction_non_alphanumeric': 0.15576694411414982, 'fraction_numerical': 0.0047562425683709865, 'mean_word_length': 3.317948717948718, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5669248', 'n_tokens_mistral': 347, 'n_tokens_neox': 342, 'n_words': 97}