<commit_before># config valid only for current version of Capistrano
lock '3.4.0'

set :composer_install_flags, '--no-dev --no-interaction --quiet --optimize-autoloader'
set :application, 'phpschool'
set :repo_url, 'https://github.com/php-school/php-school.github.io'
set :branch, 'fw-me-up'
set :deploy_to, '/var/www/html'
set :pty, true<commit_msg>Clear cache on deploy, update branch, lower logging level<commit_after># config valid only for current version of Capistrano
lock '3.4.0'

set :composer_install_flags, '--no-dev --no-interaction --quiet --optimize-autoloader'
set :application, 'phpschool'
set :repo_url, '<EMAIL>:php-school/phpschool.io.git'
set :branch, 'master'
set :deploy_to, '/var/www/html'
set :pty, true
set :log_level, :info

namespace :deploy do

  task :clear_cache do
    on roles(:web) do |host|
      within release_path do
          execute "php #{release_path}/bin/app clear-cache"
      end
    end
  end


  before 'deploy:updated', 'deploy:clear_cache'
end
{'fraction_non_alphanumeric': 0.13521695257315844, 'fraction_numerical': 0.006054490413723511, 'mean_word_length': 4.221052631578948, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 1, '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': '181130', 'n_tokens_mistral': 357, 'n_tokens_neox': 345, 'n_words': 98}