2018-04-22 17:49:00 +02:00
|
|
|
# config valid for current version and patch releases of Capistrano
|
|
|
|
lock "~> 3.10.2"
|
2018-04-22 12:11:57 +02:00
|
|
|
|
2018-04-22 17:49:00 +02:00
|
|
|
set :application, "ruby-x"
|
|
|
|
set :repo_url, "https://github.com/ruby-x/ruby-x.github.io.git"
|
|
|
|
#set :repo_url, "git@github.com:ruby-x/ruby-x.github.io.git"
|
2018-04-22 12:11:57 +02:00
|
|
|
|
|
|
|
# Default deploy_to directory is /var/www/my_app_name
|
2018-04-22 17:49:00 +02:00
|
|
|
set :deploy_to, '/var/www/vhosts/rubydesign.fi/ruby-x.org'
|
2018-04-22 12:11:57 +02:00
|
|
|
|
|
|
|
# Default value for :linked_files is []
|
2018-04-22 17:49:00 +02:00
|
|
|
#append :linked_files, "config/database.yml"
|
2018-04-22 12:11:57 +02:00
|
|
|
|
|
|
|
# Default value for linked_dirs is []
|
2018-04-22 17:49:00 +02:00
|
|
|
append :linked_dirs, "log", "tmp/pids", "tmp/cache", "tmp/sockets", "public/system"
|
2018-04-22 12:11:57 +02:00
|
|
|
|
|
|
|
# Default value for default_env is {}
|
|
|
|
# set :default_env, { path: "/opt/ruby/bin:$PATH" }
|
|
|
|
|
2018-04-22 17:49:00 +02:00
|
|
|
# Default value for local_user is ENV['USER']
|
|
|
|
set :local_user, -> { 'rubydesign' }
|