mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 01:47:18 +02:00
update whenever at launch
This commit is contained in:
parent
6a1f346052
commit
55d13c367e
1 changed files with 2 additions and 2 deletions
|
@ -92,8 +92,8 @@ task deploy: :environment do
|
|||
invoke :'bundle:install'
|
||||
invoke :'rails:db_migrate'
|
||||
invoke :'rails:assets_precompile'
|
||||
invoke :'whenever:update'
|
||||
to :launch do
|
||||
invoke :'whenever:update'
|
||||
invoke :restart
|
||||
end
|
||||
end
|
||||
|
@ -107,8 +107,8 @@ task rollback: :environment do
|
|||
ls -Art "#{deploy_to}/releases" | sort | tail -n 2 | head -n 1 |
|
||||
xargs -I active ln -nfs "#{deploy_to}/releases/active" "#{deploy_to}/current"
|
||||
)
|
||||
invoke :'whenever:update'
|
||||
to :launch do
|
||||
invoke :'whenever:update'
|
||||
invoke :restart
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue