-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Just a note that while the README says you can do
# lib/tasks/deploy.rake
namespace :deploy do
desc 'Deploy app in production environment'
task :production do
Paratrooper.deploy("amazing-production-app") do |config|
config.maintenance = true
config.add_callback(:after_teardown) do |output|
output.display("Running some task that needs to run")
config.add_remote_task("rake some:task:to:run")
end
end
end
end
that gives an error. I had to do
config.heroku.run_task("rake some:task:to:run")
to get it working. Might just update the docs (or let us know how it should actually work). Thanks.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels