<commit_before>#!/bin/bash

echo "enter deploy_wrap"

export NEWVERSION=$(git rev-parse --short HEAD)
export DEPLOYCOPY="~/DEPLOY"
export DEPLOYPATH="/home/wwwroot/py.senyu.me/deploy/"

echo $NEWVERSION
echo $DEPLOYCOPY
echo $DEPLOYPATH
tar -zcvf ../deploy_$NEWVERSION.tar.gz * 
pwd

ll -l ./
ll -l ../

scp -i ~/.ssh/id_rsa  -o StrictHostKeyChecking=no -p 22 ../deploy_$NEWVERSION.tar.gz <EMAIL>:$DEPLOYCOPY
ssh -i ~/.ssh/id_rsa  -o StrictHostKeyChecking=no -p 22 <EMAIL>.me "ls -l $DEPLOYCOPY;"
ssh -i ~/.ssh/id_rsa  -o StrictHostKeyChecking=no -p 22 <EMAIL>.me ".remote_excute.sh $NEWVERSION $DEPLOYPATH $DEPLOYCOPY"<commit_msg>test 4<commit_after>#!/bin/bash

echo "enter deploy_wrap"

export NEWVERSION=$(git rev-parse --short HEAD)
export DEPLOYCOPY="~/DEPLOY"
export DEPLOYPATH="/home/wwwroot/py.senyu.me/deploy/"

echo $NEWVERSION
echo $DEPLOYCOPY
echo $DEPLOYPATH
tar -zcvf ../deploy_$NEWVERSION.tar.gz * 
pwd

ls -l ./
ls -l ../

scp -i ~/.ssh/id_rsa  -o StrictHostKeyChecking=no -p 22 ../deploy_$NEWVERSION.tar.gz <EMAIL>:$DEPLOYCOPY
ssh -i ~/.ssh/id_rsa  -o StrictHostKeyChecking=no -p 22 <EMAIL> "ls -l $DEPLOYCOPY;"
ssh -i ~/.ssh/id_rsa  -o StrictHostKeyChecking=no -p 22 <EMAIL>.me "remote_excute.sh $NEWVERSION $DEPLOYPATH $DEPLOYCOPY"
{'fraction_non_alphanumeric': 0.15987210231814547, 'fraction_numerical': 0.010391686650679457, 'mean_word_length': 4.048387096774194, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '7520722', 'n_tokens_mistral': 596, 'n_tokens_neox': 528, 'n_words': 118}