Hi Fellas

I have to do a deployment using a Git repo via HTTPS, looks something
like this:

set :application, "myapp"
set :user, application
set :domain, "#{application}.domain.com"
set :scm, :git
set :repository, "https://git.domain.com/#{application}.git";
set :deploy_to, "/var/www/#{domain}/site"
set :deploy_via, :remote_cache
set :use_sudo, false
default_environment['GIT_SSL_NO_VERIFY'] = 1

Now, I ssh as user and try a git clone - works fine. Next I remotely
do "cap shell" and try a git clone - works just as fine. But "cap
deploy" barfs:

...capistrano/recipes/deploy/scm/git.rb:217:in `query_revision':
Unable to resolve revision for 'HEAD' on repository 'https://
git.domain.com/myapp.git'. (RuntimeError)

Any ideas why?
-sven
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to