Skip to content

Commit b98553c

Browse files
Merge pull request #49 from yas-okadatech/fix-gem-publish-path
fix gem path for publishing RubyGems
2 parents 76542b4 + aad60f4 commit b98553c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
# TODO: If it is possible to accept input in the middle of a step, then the OTP Token should be inputted instead of generated.
6363
gem install rotp -v 6.2.0
6464
OTP_TOKEN=$(echo ${OTP_SECRET} | ruby -rtime -rrotp -e "puts ROTP::TOTP.new(STDIN.read.chomp, issuer: 'rubygems.org').at(Time.now)")
65-
gem push --otp="${OTP_TOKEN}" ./pkg/*.gem
65+
gem push --otp="${OTP_TOKEN}" ./build/gems/*.gem
6666
env:
6767
GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_API_KEY}}"
6868
OTP_SECRET: "${{secrets.RUBYGEMS_OTP_SECRET}}"

0 commit comments

Comments
 (0)