<commit_before>#!/bin/bash

[[ "${TRAVIS_BRANCH}" == "master" ]] || echo "not on master branch" && exit 0

openssl aes-256-cbc -K $encrypted_cd6bced8534a_key -iv $encrypted_cd6bced8534a_iv -in id_rsa_travis.enc -out id_rsa_travis -d
chmod 0600 id_rsa_travis
eval $(ssh-agent)
ssh-add id_rsa_travis

ssh-keyscan github.com >> ~/.ssh/known_hosts
git clone --depth 1 <EMAIL>:freifunk-berlin/firmware-wizard-frontend.git -b gh-pages gh-pages

rsync -a --delete --exclude .git dist/ gh-pages/

(cd gh-pages/ && \
  git config user.name "<NAME>" && \
  git config user.email "<EMAIL>" && \
  git config --global push.default simple && \<commit_msg>deploy: another fix :/<commit_after>#!/bin/bash

if [ "${TRAVIS_BRANCH}" != "master" ]; then
  echo "not on master branch"
  exit 0
fi

openssl aes-256-cbc -K $encrypted_cd6bced8534a_key -iv $encrypted_cd6bced8534a_iv -in id_rsa_travis.enc -out id_rsa_travis -d
chmod 0600 id_rsa_travis
eval $(ssh-agent)
ssh-add id_rsa_travis

ssh-keyscan github.com >> ~/.ssh/known_hosts
git clone --depth 1 <EMAIL>.com:freifunk-berlin/firmware-wizard-frontend.git -b gh-pages gh-pages

rsync -a --delete --exclude .git dist/ gh-pages/

(cd gh-pages/ && \
  git config user.name "<NAME>" && \
  git config user.email "<EMAIL>" && \
  git config --global push.default simple && \
{'fraction_non_alphanumeric': 0.15095785440613027, 'fraction_numerical': 0.029118773946360154, 'mean_word_length': 3.749090909090909, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 13, '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': '3970244', 'n_tokens_mistral': 568, 'n_tokens_neox': 521, 'n_words': 128}