Suite
This commit is contained in:
parent
c0914a6662
commit
9fca4d6608
@ -42,8 +42,9 @@ default_run_options[:pty] = true
|
|||||||
|
|
||||||
require "rvm/capistrano"
|
require "rvm/capistrano"
|
||||||
require 'bundler/capistrano'
|
require 'bundler/capistrano'
|
||||||
|
require "whenever/capistrano"
|
||||||
|
|
||||||
|
set :whenever_identifier, ->{ "#{fetch(:application)}_#{fetch(:stage)}" }
|
||||||
|
|
||||||
|
|
||||||
load 'deploy/assets'
|
load 'deploy/assets'
|
||||||
@ -82,7 +83,7 @@ namespace :deploy do
|
|||||||
|
|
||||||
sudo "sudo systemctl enable quartz_app@#{application}"
|
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"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user