diff options
author | Jeremy Benoist <j0k3r@users.noreply.github.com> | 2016-01-15 16:29:06 +0100 |
---|---|---|
committer | Jeremy Benoist <j0k3r@users.noreply.github.com> | 2016-01-15 16:29:06 +0100 |
commit | 3bcc4d4cb29abeedb48b1f297f1a65a02998ff69 (patch) | |
tree | 78675c7bdbfbf252eff9c8bc6328f44d3db9bb31 /app | |
parent | f902d7815326e81913904257cc4485b4dfef5d13 (diff) | |
parent | 160e2d8f0b1e4c3e9fe7f89300de22c5ef334833 (diff) | |
download | wallabag-3bcc4d4cb29abeedb48b1f297f1a65a02998ff69.tar.gz wallabag-3bcc4d4cb29abeedb48b1f297f1a65a02998ff69.tar.zst wallabag-3bcc4d4cb29abeedb48b1f297f1a65a02998ff69.zip |
Merge pull request #1584 from wallabag/v2-cleanup
some cleanup
Diffstat (limited to 'app')
-rw-r--r-- | app/config/capistrano/deploy.rb | 23 | ||||
-rw-r--r-- | app/config/capistrano/deploy/production.rb | 0 | ||||
-rw-r--r-- | app/config/capistrano/deploy/staging.rb | 2 |
3 files changed, 25 insertions, 0 deletions
diff --git a/app/config/capistrano/deploy.rb b/app/config/capistrano/deploy.rb new file mode 100644 index 00000000..c2562965 --- /dev/null +++ b/app/config/capistrano/deploy.rb | |||
@@ -0,0 +1,23 @@ | |||
1 | # config valid only for current version of Capistrano | ||
2 | lock '3.4.0' | ||
3 | |||
4 | set :application, 'wallabag' | ||
5 | set :repo_url, 'git@github.com:wallabag/wallabag.git' | ||
6 | |||
7 | set :ssh_user, 'framasoft_bag' | ||
8 | server '78.46.248.87', user: fetch(:ssh_user), roles: %w{web app db} | ||
9 | |||
10 | set :scm, :git | ||
11 | |||
12 | set :format, :pretty | ||
13 | set :log_level, :info | ||
14 | # set :log_level, :debug | ||
15 | |||
16 | set :composer_install_flags, '--no-dev --prefer-dist --no-interaction --optimize-autoloader' | ||
17 | |||
18 | set :linked_files, %w{app/config/parameters.yml} | ||
19 | set :linked_dirs, %w{app/logs web/uploads data} | ||
20 | |||
21 | set :keep_releases, 3 | ||
22 | |||
23 | after 'deploy:finishing', 'deploy:cleanup' | ||
diff --git a/app/config/capistrano/deploy/production.rb b/app/config/capistrano/deploy/production.rb new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/app/config/capistrano/deploy/production.rb | |||
diff --git a/app/config/capistrano/deploy/staging.rb b/app/config/capistrano/deploy/staging.rb new file mode 100644 index 00000000..ccd05b4d --- /dev/null +++ b/app/config/capistrano/deploy/staging.rb | |||
@@ -0,0 +1,2 @@ | |||
1 | set :branch, 'v2' | ||
2 | set :deploy_to, '/var/www/v2.wallabag.org/web/' | ||