deploying from github

85 views
Skip to first unread message

Pyrat

unread,
Dec 13, 2009, 6:25:03 AM12/13/09
to rubber
Hi,

How to use the deployment with github? I can setup the repos and
modify the deploy.rb file. The only concern is do I've have to ssh
to
ec2 instance, generate the ssh keys and put it in github ssh keys?
or
is there already out-of-the-box support for it by just changing the
deploy.rb github/git section?

Cheers,
Alastair

Tobias Crawley

unread,
Dec 14, 2009, 6:40:40 AM12/14/09
to rubbe...@googlegroups.com
Alastair:

I use my own ssh key to deploy with. If you set: 

ssh_options[:forward_agent] = true 

in deploy.rb, any of the keys you have registered with ssh-agent (via ssh-add) will be forwarded and used for the ssh connection to github,

Tobias


--

You received this message because you are subscribed to the Google Groups "rubber" group.
To post to this group, send email to rubbe...@googlegroups.com.
To unsubscribe from this group, send email to rubber-ec2+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubber-ec2?hl=en.



Alastair Brunton

unread,
Dec 15, 2009, 5:04:42 AM12/15/09
to rubbe...@googlegroups.com
Many thanks Tobias, ill give this a go.

2009/12/14 Tobias Crawley <tcra...@gmail.com>
Reply all
Reply to author
Forward
0 new messages