Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pull most recent head, not the intended PR #3

Open
jakef opened this issue Feb 17, 2015 · 1 comment
Open

Pull most recent head, not the intended PR #3

jakef opened this issue Feb 17, 2015 · 1 comment

Comments

@jakef
Copy link

jakef commented Feb 17, 2015

In my deploy.rb, I included require 'capistrano-github-pullrequests' and set :pull_request_number, '1144', but it deploys the most recent commit in HEAD instead. Anything else I need to get this gem working?

deploy.rb:

require 'bundler/capistrano'
require 'capistrano-github-pullrequests'
load 'config/deploy/shared'

set :pull_request_number, '1144'

set :repository, 'repo-frontend:someorganization/someapp.git'

set :scm, :git
set :application, 'someapp'
set :deploy_to, "/var/www/somesite.org/#{application}"

set :user, "someadmin"
set :group, "some-dev"

set :deploy_via, :remote_cache
default_run_options[:pty] = true
set :ssh_options, {
  :forward_agent => true,
  :config => false
}
set :keep_releases, 3

set :use_sudo, :false

role :web, 'web-01.someapp.org'
role :app, 'web-01.someapp.org'
@jakef
Copy link
Author

jakef commented Feb 18, 2015

:scm, :github 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant