From 92434effcd1b211e143ff59c1d394065e018c4e6 Mon Sep 17 00:00:00 2001 From: Evan Sims Date: Mon, 25 Sep 2023 00:06:57 -0500 Subject: [PATCH] Fix `env` reference --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 10ff092a..8a8d51f0 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -34,8 +34,8 @@ jobs: mkdir -p $HOME/.gem touch $HOME/.gem/credentials chmod 0600 $HOME/.gem/credentials - printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials + printf -- "---\n:rubygems_api_key: $RUBYGEMS_AUTH_TOKEN\n" > $HOME/.gem/credentials gem build *.gemspec gem push *.gem env: - GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}" + RUBYGEMS_AUTH_TOKEN: ${{secrets.RUBYGEMS_AUTH_TOKEN}}