Advertisement
mbruns

Install packages using Rubygem hosted in Github registry

Jun 12th, 2022
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.27 KB | None | 0 0
  1. //Install packages hosted on Github registry using Rubygem
  2. //https://github.com/features/packages
  3.  
  4. echo ":github: Bearer ${GH_TOKEN}" >> ~/.gem/credentials
  5. gem build github_api.gemspec
  6. gem push --key github --host https://rubygems.pkg.github.com/phanatic github_api-1.0.0.gem
  7.  
  8.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement