Skip to content

Commit

Permalink
Login to RubyGems.org first
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewJo committed Feb 1, 2019
1 parent 990e472 commit d770e93
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ jobs:
steps:
- attach_workspace:
at: .
- run:
name: Login to RubyGems.org
command: |
curl -u ${RUBYGEMS_USER}:${RUBYGEMS_PASS} https://rubygems.org/api/v1/api_key.yaml > ~/.gem/credentials; \
chmod 0600 ~/.gem/credentials
- run:
name: Publish to RubyGems.org
command: gem push green-button-data-${CIRCLE_TAG:1}.gem
Expand Down

0 comments on commit d770e93

Please sign in to comment.