Skip to content

Pull most recent head, not the intended PR #3

@jakef

Description

@jakef

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions