wallabag/config/deploy.rb

24 lines
588 B
Ruby
Raw Normal View History

2015-08-14 19:26:14 +00:00
# config valid only for current version of Capistrano
lock '3.4.0'
set :application, 'wallabag'
set :repo_url, 'git@github.com:wallabag/wallabag.git'
set :ssh_user, 'ssh_user'
server 'server_ip', user: fetch(:ssh_user), roles: %w{web app db}
set :scm, :git
set :format, :pretty
set :log_level, :info
# set :log_level, :debug
set :composer_install_flags, '--no-dev --prefer-dist --no-interaction --optimize-autoloader'
set :linked_files, %w{app/config/parameters.yml}
2015-09-29 20:13:07 +00:00
set :linked_dirs, %w{app/logs web/uploads data}
2015-08-14 19:26:14 +00:00
set :keep_releases, 3
after 'deploy:finishing', 'deploy:cleanup'