diff --git a/sbmt-pact.gemspec b/sbmt-pact.gemspec index a7ed484..3b67e33 100644 --- a/sbmt-pact.gemspec +++ b/sbmt-pact.gemspec @@ -13,7 +13,7 @@ Gem::Specification.new do |spec| spec.homepage = "https://github.com/Kuper-Tech/sbmt-pact" spec.required_ruby_version = ">= 2.7.0" - spec.metadata["allowed_push_host"] = "https://rubygems.org" + spec.metadata["allowed_push_host"] = ENV.fetch("NEXUS_URL", "https://rubygems.org") spec.metadata["homepage_uri"] = spec.homepage spec.metadata["source_code_uri"] = spec.homepage