diff options
author | Jeremy Benoist <j0k3r@users.noreply.github.com> | 2016-02-17 15:22:19 +0100 |
---|---|---|
committer | Jeremy Benoist <j0k3r@users.noreply.github.com> | 2016-02-17 15:22:19 +0100 |
commit | 861bbfcbd4e4e7bd3d7fac2ad6462bc3a56a6476 (patch) | |
tree | 34f60cf8db0a106a61d9ac3d7dd45e801c8b61dc /app/config/capistrano/deploy.rb | |
parent | 6a21cc6cf7a5bd3e2e9fcd18659d7252a55862d7 (diff) | |
parent | 28a5ee6fcf538de331db54cdd7980d18453026ed (diff) | |
download | wallabag-861bbfcbd4e4e7bd3d7fac2ad6462bc3a56a6476.tar.gz wallabag-861bbfcbd4e4e7bd3d7fac2ad6462bc3a56a6476.tar.zst wallabag-861bbfcbd4e4e7bd3d7fac2ad6462bc3a56a6476.zip |
Merge pull request #1680 from wallabag/v2-capistrano-sf3
Update Capistrano configuration for symfony3
Diffstat (limited to 'app/config/capistrano/deploy.rb')
-rw-r--r-- | app/config/capistrano/deploy.rb | 7 |
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 |
2 | lock '3.4.0' | 2 | lock '3.4.0' |
3 | 3 | ||
4 | set :log_path, "var/logs" | ||
5 | set :cache_path, "var/cache" | ||
6 | set :symfony_console_path, 'bin/console' | ||
7 | |||
4 | set :application, 'wallabag' | 8 | set :application, 'wallabag' |
5 | set :repo_url, 'git@github.com:wallabag/wallabag.git' | 9 | set :repo_url, 'git@github.com:wallabag/wallabag.git' |
6 | 10 | ||
@@ -16,8 +20,7 @@ set :log_level, :info | |||
16 | set :composer_install_flags, '--no-dev --prefer-dist --no-interaction --optimize-autoloader' | 20 | set :composer_install_flags, '--no-dev --prefer-dist --no-interaction --optimize-autoloader' |
17 | 21 | ||
18 | set :linked_files, %w{app/config/parameters.yml} | 22 | set :linked_files, %w{app/config/parameters.yml} |
19 | set :linked_dirs, %w{app/logs web/uploads data} | 23 | set :linked_dirs, [fetch(:log_path), "var/sessions", "web/uploads", "data"] |
20 | |||
21 | set :keep_releases, 3 | 24 | set :keep_releases, 3 |
22 | 25 | ||
23 | after 'deploy:finishing', 'deploy:cleanup' | 26 | after 'deploy:finishing', 'deploy:cleanup' |