Skip to content

Commit

Permalink
Add yarn back.
Browse files Browse the repository at this point in the history
  • Loading branch information
tpendragon committed Jul 26, 2018
1 parent b732865 commit f0b10d7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions config/deploy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,11 @@


namespace :deploy do
desc 'Run rake npm install'
task :npm_install do
desc 'Run yarn install'
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 f0b10d7

Please sign in to comment.