aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/config/capistrano/deploy.rb
blob: c2562965bf665aa208ec69e6be33811d0da28457 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# 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, 'framasoft_bag'
server '78.46.248.87', 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}
set :linked_dirs, %w{app/logs web/uploads data}

set :keep_releases, 3

after 'deploy:finishing', 'deploy:cleanup'