Skip to content

Commit 2cee88c

Browse files
ArlantirМеркушин Михаил Сергеевич
authored and
Меркушин Михаил Сергеевич
committed
[DEX-241031] feat: fix CI
1 parent f20958d commit 2cee88c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.gitlab-ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ tests:
2828
REDIS_URL: redis://redis:6379/0
2929
before_script:
3030
- gem sources --remove https://rubygems.org/
31-
- gem sources --add https://nexus.sbmt.io/repository/rubygems/
31+
- gem sources --add ${NEXUS_PUBLIC_SOURCE_URL}
3232
- gem update --system 3.4.22
3333
- bin/setup
3434
script:

sbmt-outbox.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Gem::Specification.new do |s|
2424
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
2525
# to allow pushing to a single host or delete this section to allow pushing to any host.
2626
if s.respond_to?(:metadata)
27-
s.metadata["allowed_push_host"] = "https://rubygems.org"
27+
s.metadata["allowed_push_host"] = ENV.fetch("NEXUS_URL", "https://rubygems.org")
2828
else
2929
raise "RubyGems 2.0 or newer is required to protect against " \
3030
"public gem pushes."

0 commit comments

Comments
 (0)