diff --git a/lib/instance_agent/plugins/codedeploy/command_executor.rb b/lib/instance_agent/plugins/codedeploy/command_executor.rb index 08d0cf72..fb75eda4 100644 --- a/lib/instance_agent/plugins/codedeploy/command_executor.rb +++ b/lib/instance_agent/plugins/codedeploy/command_executor.rb @@ -235,7 +235,7 @@ def download_from_github(deployment_spec, account, repo, commit, anonymous, toke format = 'tarball' end - uri = URI.parse("https://api.github.com/repos/#{account}/#{repo}/#{format}/#{commit}") + uri = URI.parse("https://api.github.com/repos/#{account}/#{repo}/#{format}") options = {:ssl_verify_mode => OpenSSL::SSL::VERIFY_PEER, :redirect => true, :ssl_ca_cert => ENV['AWS_SSL_CA_DIRECTORY']} if anonymous