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
Using invoke :'whenever:update' in deploy block causes this task to run from old release and to use old schedule.rb. It uses new build only after current symlink is updated, for example in to :launch block.
Probably either cd #{deploy_to!}/#{current_path!} ; should be removed from these tasks or, if there is some reason for this cd, readme example should be updated to something like that:
require 'mina/whenever'
task :deploy => :environment do
deploy do
...
to :launch do
invoke :'whenever:update'
...
end
end
end
I may create pull request if I understood everything correctly.
The text was updated successfully, but these errors were encountered:
Using
invoke :'whenever:update'
indeploy
block causes this task to run from old release and to use oldschedule.rb
. It uses new build only after current symlink is updated, for example into :launch
block.Probably either
cd #{deploy_to!}/#{current_path!} ;
should be removed from these tasks or, if there is some reason for this cd, readme example should be updated to something like that:I may create pull request if I understood everything correctly.
The text was updated successfully, but these errors were encountered: