diff options
author | Jeremy Benoist <j0k3r@users.noreply.github.com> | 2016-10-29 15:36:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-29 15:36:58 +0200 |
commit | ca9858537eb0412994b42bdd7ea4f26f7cae96b2 (patch) | |
tree | 7cb73fed6103a4106d02e9c30e316051de6b0ce4 /app/config/capistrano/deploy.rb | |
parent | 67b270d9967a023538c7598bfb520dd1007dd2ab (diff) | |
parent | c4b3933bae583da1bdd4b97471bdcca08ab92312 (diff) | |
download | wallabag-ca9858537eb0412994b42bdd7ea4f26f7cae96b2.tar.gz wallabag-ca9858537eb0412994b42bdd7ea4f26f7cae96b2.tar.zst wallabag-ca9858537eb0412994b42bdd7ea4f26f7cae96b2.zip |
Merge pull request #2513 from wallabag/update-capistrano-config
Updated Capistrano configuration
Diffstat (limited to 'app/config/capistrano/deploy.rb')
-rw-r--r-- | app/config/capistrano/deploy.rb | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/app/config/capistrano/deploy.rb b/app/config/capistrano/deploy.rb index f15eef30..fee04620 100644 --- a/app/config/capistrano/deploy.rb +++ b/app/config/capistrano/deploy.rb | |||
@@ -1,9 +1,4 @@ | |||
1 | # config valid only for current version of Capistrano | 1 | # config valid only for current version of Capistrano |
2 | lock '3.4.0' | ||
3 | |||
4 | set :log_path, "var/logs" | ||
5 | set :cache_path, "var/cache" | ||
6 | set :symfony_console_path, 'bin/console' | ||
7 | 2 | ||
8 | set :application, 'wallabag' | 3 | set :application, 'wallabag' |
9 | set :repo_url, 'git@github.com:wallabag/wallabag.git' | 4 | set :repo_url, 'git@github.com:wallabag/wallabag.git' |
@@ -11,8 +6,6 @@ set :repo_url, 'git@github.com:wallabag/wallabag.git' | |||
11 | set :ssh_user, 'framasoft_bag' | 6 | set :ssh_user, 'framasoft_bag' |
12 | server '78.46.248.87', user: fetch(:ssh_user), roles: %w{web app db} | 7 | server '78.46.248.87', user: fetch(:ssh_user), roles: %w{web app db} |
13 | 8 | ||
14 | set :scm, :git | ||
15 | |||
16 | set :format, :pretty | 9 | set :format, :pretty |
17 | set :log_level, :info | 10 | set :log_level, :info |
18 | # set :log_level, :debug | 11 | # set :log_level, :debug |
@@ -23,4 +16,4 @@ set :linked_files, %w{app/config/parameters.yml} | |||
23 | set :linked_dirs, [fetch(:log_path), "var/sessions", "web/uploads", "data"] | 16 | set :linked_dirs, [fetch(:log_path), "var/sessions", "web/uploads", "data"] |
24 | set :keep_releases, 3 | 17 | set :keep_releases, 3 |
25 | 18 | ||
26 | after 'deploy:finishing', 'deploy:cleanup' | 19 | after 'deploy:updated', 'symfony:cache:clear' |