Setting up private Github access with AWS Elastic Beanstalk and Ruby container

前端 未结 5 1830
北恋
北恋 2020-12-13 04:47

Going by a recent tutorial on setting up AWS Elastic Beanstalk for Ruby deployment using Git, I just set up a Elastic Beanstalk environment from my CI server. However, the a

5条回答
  •  不思量自难忘°
    2020-12-13 05:06

    If you're in a hurry, and your application repo is also private, you can create an additional Github user account and assign it read-only privileges to the repo containing the gem.

    Then give bundler the https url with the new account's credentials:

    gem 'somegemname', git: "https://username:password@github.com/example/privaterepository"
    

提交回复
热议问题