mirror of
https://github.com/internetee/registry.git
synced 2025-05-19 18:59:38 +02:00
Merge branch 'master' of github.com:internetee/registry
This commit is contained in:
commit
737552c99b
1 changed files with 2 additions and 2 deletions
|
@ -5,9 +5,9 @@
|
||||||
|
|
||||||
# rbenv support
|
# rbenv support
|
||||||
rbenv = 'export PATH="$HOME/.rbenv/bin:$PATH";eval "$(rbenv init -)";'
|
rbenv = 'export PATH="$HOME/.rbenv/bin:$PATH";eval "$(rbenv init -)";'
|
||||||
path = Whenever.path.join('../../current')
|
path = Whenever.path.sub(%r(\/releases\/.*), '/current')
|
||||||
set :job_template, "/bin/bash -l -c '#{rbenv} :job'"
|
set :job_template, "/bin/bash -l -c '#{rbenv} :job'"
|
||||||
job_type :runner, "#{path}/bin/rails r -e :environment ':task' :output"
|
job_type :runner, "cd #{path} && bin/rails r -e :environment \":task\" :output"
|
||||||
|
|
||||||
# cron output
|
# cron output
|
||||||
set :output, 'log/cron.log'
|
set :output, 'log/cron.log'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue