Skip to content

Commit 8046ad2

Browse files
committed
build: gem server added
1 parent a0770a2 commit 8046ad2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/gempush.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
mkdir -p $HOME/.gem
2727
touch $HOME/.gem/credentials
2828
chmod 0600 $HOME/.gem/credentials
29-
printf -- "---\n:rubygems_api_key: ${RUBYGEMS_AUTH_TOKEN}\n" > $HOME/.gem/credentials
29+
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
3030
gem build *.gemspec
3131
gem push *.gem
3232
env:

imagekit-sdk.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
1717
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
1818
# to allow pushing to a single host or delete this section to allow pushing to any host.
1919
if spec.respond_to?(:metadata)
20-
spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
20+
spec.metadata["allowed_push_host"] = "https://rubygems.org"
2121
else
2222
raise "RubyGems 2.0 or newer is required to protect against " \
2323
"public gem pushes."

0 commit comments

Comments
 (0)