Ensure crontab updated when deploying

Closes #14
This commit is contained in:
Hakan Ensari 2015-12-30 19:53:00 +00:00
parent bfe8313418
commit f69442e5e7

View File

@ -6,6 +6,7 @@ def run(cmd)
end
run "foreman run bundle install --deployment --without development:test"
run "whenever --update-crontab"
tasks = []
num_migrations = `git diff #{oldrev} #{newrev} --diff-filter=A --name-only -z db/migrate`.split("\0").size