diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-09-30 08:49:00 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-09-30 08:49:00 +0200 |
commit | 24429857d8a431cd20077c5c0c3db81e2fedb1ac (patch) | |
tree | 7bea766f4de8057abe4309923c15861a70b12946 /config/deploy | |
parent | d2755b1c30318f370e7e903ebbd9d34bca11d939 (diff) | |
parent | e75b215a25dcb1f527bc2e6d43beedb41ae4ff68 (diff) | |
download | wallabag-24429857d8a431cd20077c5c0c3db81e2fedb1ac.tar.gz wallabag-24429857d8a431cd20077c5c0c3db81e2fedb1ac.tar.zst wallabag-24429857d8a431cd20077c5c0c3db81e2fedb1ac.zip |
Merge pull request #1439 from wallabag/v2-fix-deploy
fix Capistrano configuration
Diffstat (limited to 'config/deploy')
-rw-r--r-- | config/deploy/staging.rb | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/config/deploy/staging.rb b/config/deploy/staging.rb index 76e23bb7..d67d7247 100644 --- a/config/deploy/staging.rb +++ b/config/deploy/staging.rb | |||
@@ -1,64 +1,2 @@ | |||
1 | # server-based syntax | ||
2 | # ====================== | ||
3 | # Defines a single server with a list of roles and multiple properties. | ||
4 | # You can define all roles on a single server, or split them: | ||
5 | |||
6 | set :branch, 'v2' | 1 | set :branch, 'v2' |
7 | set :deploy_to, '/var/www/' | 2 | set :deploy_to, '/var/www/' |
8 | |||
9 | # server 'example.com', user: 'deploy', roles: %w{app db web}, my_property: :my_value | ||
10 | # server 'example.com', user: 'deploy', roles: %w{app web}, other_property: :other_value | ||
11 | # server 'db.example.com', user: 'deploy', roles: %w{db} | ||
12 | |||
13 | |||
14 | |||
15 | # role-based syntax | ||
16 | # ================== | ||
17 | |||
18 | # Defines a role with one or multiple servers. The primary server in each | ||
19 | # group is considered to be the first unless any hosts have the primary | ||
20 | # property set. Specify the username and a domain or IP for the server. | ||
21 | # Don't use `:all`, it's a meta role. | ||
22 | |||
23 | # role :app, %w{deploy@example.com}, my_property: :my_value | ||
24 | # role :web, %w{user1@primary.com user2@additional.com}, other_property: :other_value | ||
25 | # role :db, %w{deploy@example.com} | ||
26 | |||
27 | |||
28 | |||
29 | # Configuration | ||
30 | # ============= | ||
31 | # You can set any configuration variable like in config/deploy.rb | ||
32 | # These variables are then only loaded and set in this stage. | ||
33 | # For available Capistrano configuration variables see the documentation page. | ||
34 | # http://capistranorb.com/documentation/getting-started/configuration/ | ||
35 | # Feel free to add new variables to customise your setup. | ||
36 | |||
37 | |||
38 | |||
39 | # Custom SSH Options | ||
40 | # ================== | ||
41 | # You may pass any option but keep in mind that net/ssh understands a | ||
42 | # limited set of options, consult the Net::SSH documentation. | ||
43 | # http://net-ssh.github.io/net-ssh/classes/Net/SSH.html#method-c-start | ||
44 | # | ||
45 | # Global options | ||
46 | # -------------- | ||
47 | # set :ssh_options, { | ||
48 | # keys: %w(/home/rlisowski/.ssh/id_rsa), | ||
49 | # forward_agent: false, | ||
50 | # auth_methods: %w(password) | ||
51 | # } | ||
52 | # | ||
53 | # The server-based syntax can be used to override options: | ||
54 | # ------------------------------------ | ||
55 | # server 'example.com', | ||
56 | # user: 'user_name', | ||
57 | # roles: %w{web app}, | ||
58 | # ssh_options: { | ||
59 | # user: 'user_name', # overrides user setting above | ||
60 | # keys: %w(/home/user_name/.ssh/id_rsa), | ||
61 | # forward_agent: false, | ||
62 | # auth_methods: %w(publickey password) | ||
63 | # # password: 'please use keys' | ||
64 | # } | ||