We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 76542b4 + aad60f4 commit b98553cCopy full SHA for b98553c
.github/workflows/ci.yml
@@ -62,7 +62,7 @@ jobs:
62
# TODO: If it is possible to accept input in the middle of a step, then the OTP Token should be inputted instead of generated.
63
gem install rotp -v 6.2.0
64
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
+ gem push --otp="${OTP_TOKEN}" ./build/gems/*.gem
66
env:
67
GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_API_KEY}}"
68
OTP_SECRET: "${{secrets.RUBYGEMS_OTP_SECRET}}"
0 commit comments