Commit 922e3863 by tady

fix unicorn config

parent a3b664b7
......@@ -6,7 +6,7 @@ set :repo_url, 'git@github.com:tadyjp/rendezvous.git'
# Default branch is :master
# ask :branch, proc { `git rev-parse --abbrev-ref HEAD`.chomp }
set :branch, fetch(:branch, "master")
set :branch, ENV['REVISION'] || 'master'
# Default deploy_to directory is /var/www/my_app
set :deploy_to, '/var/www/rendezvous'
......@@ -83,6 +83,5 @@ namespace :linked_files do
end
end
before 'deploy:check:make_linked_dirs', 'linked_files:touch'
before 'deploy:check:linked_files', 'linked_files:touch'
end
......@@ -4,9 +4,9 @@
# server in each group is considered to be the first
# unless any hosts have the primary property set.
# Don't declare `role :all`, it's a meta role
role :app, %w{tady@rendezvous}
role :web, %w{tady@rendezvous}
role :db, %w{tady@rendezvous}
role :app, %w{rendezvous}
role :web, %w{rendezvous}
role :db, %w{rendezvous}
# Extended Server Syntax
# ======================
......@@ -21,7 +21,7 @@ role :db, %w{tady@rendezvous}
# you can see them in [net/ssh documentation](http://net-ssh.github.io/net-ssh/classes/Net/SSH.html#method-c-start)
# set it globally
set :ssh_options, {
keys: %w(/Users/tady/.ssh/id_rsa),
keys: %w(~/.ssh/id_rsa),
forward_agent: true,
auth_methods: %w(publickey)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment