]> git.immae.eu Git - github/wallabag/wallabag.git/blame_incremental - app/config/capistrano/deploy.rb
Updated Capistrano configuration
[github/wallabag/wallabag.git] / app / config / capistrano / deploy.rb
... / ...
CommitLineData
1# config valid only for current version of Capistrano
2
3set :application, 'wallabag'
4set :repo_url, 'git@github.com:wallabag/wallabag.git'
5
6set :ssh_user, 'framasoft_bag'
7server '78.46.248.87', user: fetch(:ssh_user), roles: %w{web app db}
8
9set :format, :pretty
10set :log_level, :info
11# set :log_level, :debug
12
13set :composer_install_flags, '--no-dev --prefer-dist --no-interaction --optimize-autoloader'
14
15set :linked_files, %w{app/config/parameters.yml}
16set :linked_dirs, [fetch(:log_path), "var/sessions", "web/uploads", "data"]
17set :keep_releases, 3
18
19after 'deploy:updated', 'symfony:cache:clear'