From a568a76046c30fa94c9fe04c6feb5b2688e8a8c5 Mon Sep 17 00:00:00 2001 From: Trey Pendragon Date: Thu, 26 Jul 2018 10:12:54 -0700 Subject: [PATCH] Use YARN. --- config/deploy.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/deploy.rb b/config/deploy.rb index f7c178d9..74c74fb4 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -79,10 +79,10 @@ namespace :deploy do desc 'Run rake npm install' - task :npm_install do + task :yarn_install do on roles(:web) do within release_path do - execute("cd #{release_path} && npm install") + execute("cd #{release_path} && yarn install") end end end @@ -92,4 +92,4 @@ after 'deploy:starting', 'sidekiq:quiet' after 'deploy:reverted', 'sidekiq:restart' after 'deploy:published', 'sidekiq:restart' -before "deploy:assets:precompile", "deploy:npm_install" +before "deploy:assets:precompile", "deploy:yarn_install"