aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas.loeuillet@smile.fr>2016-02-17 15:02:50 +0100
committerNicolas LÅ“uillet <nicolas.loeuillet@smile.fr>2016-02-17 15:02:50 +0100
commit28a5ee6fcf538de331db54cdd7980d18453026ed (patch)
treea7791518c79f517ffe825a6d87b32c25dcbcdbac
parent271708915674c849bf5ae598379c86a3d8b14c51 (diff)
downloadwallabag-28a5ee6fcf538de331db54cdd7980d18453026ed.tar.gz
wallabag-28a5ee6fcf538de331db54cdd7980d18453026ed.tar.zst
wallabag-28a5ee6fcf538de331db54cdd7980d18453026ed.zip
Update Capistrano configuration for symfony3
-rw-r--r--app/config/capistrano/deploy.rb7
1 files changed, 5 insertions, 2 deletions
diff --git a/app/config/capistrano/deploy.rb b/app/config/capistrano/deploy.rb
index c2562965..f15eef30 100644
--- a/app/config/capistrano/deploy.rb
+++ b/app/config/capistrano/deploy.rb
@@ -1,6 +1,10 @@
1# config valid only for current version of Capistrano 1# config valid only for current version of Capistrano
2lock '3.4.0' 2lock '3.4.0'
3 3
4set :log_path, "var/logs"
5set :cache_path, "var/cache"
6set :symfony_console_path, 'bin/console'
7
4set :application, 'wallabag' 8set :application, 'wallabag'
5set :repo_url, 'git@github.com:wallabag/wallabag.git' 9set :repo_url, 'git@github.com:wallabag/wallabag.git'
6 10
@@ -16,8 +20,7 @@ set :log_level, :info
16set :composer_install_flags, '--no-dev --prefer-dist --no-interaction --optimize-autoloader' 20set :composer_install_flags, '--no-dev --prefer-dist --no-interaction --optimize-autoloader'
17 21
18set :linked_files, %w{app/config/parameters.yml} 22set :linked_files, %w{app/config/parameters.yml}
19set :linked_dirs, %w{app/logs web/uploads data} 23set :linked_dirs, [fetch(:log_path), "var/sessions", "web/uploads", "data"]
20
21set :keep_releases, 3 24set :keep_releases, 3
22 25
23after 'deploy:finishing', 'deploy:cleanup' 26after 'deploy:finishing', 'deploy:cleanup'