Fixing mina after_party:run
This commit is contained in:
parent
3b75adac22
commit
22c132febe
1 changed files with 1 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue