diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8a8d51f0..2636dd9a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -31,11 +31,7 @@ jobs: - name: Publish to RubyGems run: | - mkdir -p $HOME/.gem - touch $HOME/.gem/credentials - chmod 0600 $HOME/.gem/credentials - printf -- "---\n:rubygems_api_key: $RUBYGEMS_AUTH_TOKEN\n" > $HOME/.gem/credentials gem build *.gemspec gem push *.gem env: - RUBYGEMS_AUTH_TOKEN: ${{secrets.RUBYGEMS_AUTH_TOKEN}} + GEM_HOST_API_KEY: ${{secrets.RUBYGEMS_AUTH_TOKEN}}