]> git.immae.eu Git - github/wallabag/wallabag.git/blame_incremental - app/config/capistrano/deploy.rb
Merge pull request #2330 from pmichelazzo/master
[github/wallabag/wallabag.git] / app / config / capistrano / deploy.rb
... / ...
CommitLineData
1# config valid only for current version of Capistrano
2lock '3.4.0'
3
4set :log_path, "var/logs"
5set :cache_path, "var/cache"
6set :symfony_console_path, 'bin/console'
7
8set :application, 'wallabag'
9set :repo_url, 'git@github.com:wallabag/wallabag.git'
10
11set :ssh_user, 'framasoft_bag'
12server '78.46.248.87', user: fetch(:ssh_user), roles: %w{web app db}
13
14set :scm, :git
15
16set :format, :pretty
17set :log_level, :info
18# set :log_level, :debug
19
20set :composer_install_flags, '--no-dev --prefer-dist --no-interaction --optimize-autoloader'
21
22set :linked_files, %w{app/config/parameters.yml}
23set :linked_dirs, [fetch(:log_path), "var/sessions", "web/uploads", "data"]
24set :keep_releases, 3
25
26after 'deploy:finishing', 'deploy:cleanup'