Fixing mina after_party:run

This commit is contained in:
Paul Chavard 2018-10-04 20:08:50 +02:00
parent 3b75adac22
commit 22c132febe

View file

@ -104,16 +104,6 @@ namespace :yarn do
end
end
namespace :rails do
desc "Run deploy tasks."
task :after_party => :environment do
queue %{
echo "-----> Running deploy tasks"
#{echo_cmd %[bundle exec rake after_party:run]}
}
end
end
desc "Deploys the current version to the server."
task :deploy => :environment do
queue 'export PATH=$PATH:/usr/local/rbenv/bin:/usr/local/rbenv/shims'
@ -126,7 +116,7 @@ task :deploy => :environment do
invoke :'bundle:install'
invoke :'yarn:install'
invoke :'rails:db_migrate'
invoke :'rails:after_party'
invoke :'rails:after_party:run'
invoke :'rails:assets_precompile:force'
to :launch do