diff --git a/.npmignore b/.npmignore index c0797a167..bbeb12a69 100644 --- a/.npmignore +++ b/.npmignore @@ -33,7 +33,6 @@ Capfile config.ru Gemfile Gemfile.lock -Gruntfile.js package-lock.json package.json Rakefile diff --git a/config/deploy.rb b/config/deploy.rb index 2ebc4e124..2f28722ec 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -34,16 +34,6 @@ set :rvm_ruby_version, '2.3.0' namespace :deploy do - task :npm_install do - on roles(:app) do - within release_path do - # string commands dont work, have to use special *%w syntax - execute *%w[ npm install ] - execute *%w[ grunt ] - end - end - end - after :restart, :clear_cache do on roles(:web), in: :groups, limit: 3, wait: 5 do # Here we can do anything such as: @@ -54,8 +44,6 @@ namespace :deploy do end end -before 'deploy:compile_assets', 'deploy:npm_install' - set :ssh_options, { keys: %W( #{CAP_CONFIG['default']['key_path']} ), forward_agent: false,