Skip to content

Commit

Permalink
Use YARN.
Browse files Browse the repository at this point in the history
  • Loading branch information
tpendragon committed Jul 26, 2018
1 parent 1536494 commit a568a76
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/deploy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"

0 comments on commit a568a76

Please sign in to comment.