<commit_before>#!/bin/bash
set -ev
git clone -q https://${GIT_NAME}:${GH_TOKEN}@github.com/Mjolken/Mjolken.git Mjolken
npm install less
git config --global user.name ${GIT_NAME}
git config --global user.email ${GIT_EMAIL}
git config --global push.default simple
git checkout master
sha=git rev-parse HEAD
cd Mjolken
git checkout gh-pages
cd ..
./node_modules/less/bin/lessc assets/css/style.less > Mjolken/assets/css/style.css
cd Mjolken
touch .nojekyll
git add --all .
git commit -m 'Updating to Mjolken/Mjolken@${sha}'
git push origin gh-pages -q<commit_msg>More work on deploy script<commit_after>#!/bin/bash
set -ev
git clone -q https://${GIT_NAME}:${GH_TOKEN}@github.com/Mjolken/Mjolken.git gh-pages
npm install less
git config --global user.name ${GIT_NAME}
git config --global user.email ${GIT_EMAIL}
git config --global push.default simple
git checkout master
sha=$(git rev-parse HEAD)
cd gh-pages
git checkout gh-pages
cd ..
./node_modules/less/bin/lessc assets/css/style.less > gh-pages/assets/css/style.css
cd gh-pages
touch .nojekyll
git add --all .
git commit -m 'Updating to Mjolken/Mjolken@${sha}'
git push origin gh-pages -q
{'fraction_non_alphanumeric': 0.1307017543859649, 'fraction_numerical': 0.0, 'mean_word_length': 4.258064516129032, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '1710737', 'n_tokens_mistral': 434, 'n_tokens_neox': 413, 'n_words': 121}