This commit is contained in:
Nicolas Bally 2020-02-03 10:30:39 +01:00
parent c0914a6662
commit 9fca4d6608

View File

@ -42,8 +42,9 @@ default_run_options[:pty] = true
require "rvm/capistrano"
require 'bundler/capistrano'
require "whenever/capistrano"
set :whenever_identifier, ->{ "#{fetch(:application)}_#{fetch(:stage)}" }
load 'deploy/assets'
@ -82,7 +83,7 @@ namespace :deploy do
sudo "sudo systemctl enable quartz_app@#{application}"
run "cd #{current_path}; bundle exec whenever --update-crontab"
#run "cd #{current_path}; bundle exec whenever --update-crontab"