<commit_before>#!/bin/bash
if [[ ! -z $DEPLOY_SERVER ]]; then
  echo "Deploying..."

  echo "deploying to $DEPLOY_SERVER"
  cap -S "branch=$GIT_COMMIT" -q $DEPLOY_SERVER deploy || exit 1
  bundle
  echo "deployed to $DEPLOY_SERVER"
else
  echo "No DEPLOY_SERVER found, not deploying."
fi

exit
<commit_msg>use capistrano from bundle<commit_after>#!/bin/bash
if [[ ! -z $DEPLOY_SERVER ]]; then
  echo "Deploying..."

  echo "deploying to $DEPLOY_SERVER"
  bundle
  bundle exec cap -S "branch=$GIT_COMMIT" -q $DEPLOY_SERVER deploy || exit 1
  echo "deployed to $DEPLOY_SERVER"
else
  echo "No DEPLOY_SERVER found, not deploying."
fi

exit

{'fraction_non_alphanumeric': 0.12244897959183673, 'fraction_numerical': 0.0031397174254317113, 'mean_word_length': 4.063492063492063, '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': '7635477', 'n_tokens_mistral': 262, 'n_tokens_neox': 239, 'n_words': 71}