<commit_before>namespace :custom do
  desc 'Run NPM run build'
  task :npm_run_build do
    on roles(:all) do
      within "#{release_path}" do
        execute "npm run build"
      end
    end
  end

  desc 'Run NPM run build'
  task :artisan_tasks do
    on roles(:all) do
      within "#{release_path}" do
        execute "php artisan migrate --force && php artisan cache:clear"
      end
    end
  end
end<commit_msg>Registering npm_run_build and artisan_tasks with deploy<commit_after>namespace :laravel do
  desc 'Run NPM run build'
  task :npm_run_build do
    on roles(:all) do
      within "#{release_path}" do
        execute :npm, "run build"
      end
    end
  end

  desc 'Run NPM run build'
  task :artisan_tasks do
    on roles(:all) do
      within "#{release_path}" do
        execute :php, "artisan migrate --force && php artisan cache:clear"
      end
    end
  end
end

namespace :deploy do
 after :updated, "laravel:npm_run_build"
 after :updated, "laravel:artisan_tasks"
end
{'fraction_non_alphanumeric': 0.08525576730190572, 'fraction_numerical': 0.0, 'mean_word_length': 2.8237547892720305, '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': '7037927', 'n_tokens_mistral': 335, 'n_tokens_neox': 321, 'n_words': 114}