You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# 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.
The text was updated successfully, but these errors were encountered:
Just a note that while the README says you can do
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.
The text was updated successfully, but these errors were encountered: