Skip to content

Commit

Permalink
reference GITHUB_TOKEN as envvar
Browse files Browse the repository at this point in the history
  • Loading branch information
zmariscal-ut committed Nov 6, 2023
1 parent 2bf7c3b commit 3834247
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish_gem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ jobs:
mkdir -p $HOME/.gem
touch $HOME/.gem/credentials
chmod 0600 $HOME/.gem/credentials
printf -- "---\n:github: ${GH_PACKAGES_TEMP_TOKEN}\n" > $HOME/.gem/credentials
printf -- "---\n:github: ${GITHUB_TOKEN}\n" > $HOME/.gem/credentials
cat $HOME/.gem/credentials
gem push --verbose --key github --host https://rubygems.pkg.github.com/${OWNER} biscuit-0.2.0.gem
env:
GH_PACKAGES_TEMP_TOKEN: "${{ secrets.GH_PACKAGES_TEMP_TOKEN }}"
GITHUB_TOKEN: "${{ secrets.GH_PACKAGES_TEMP_TOKEN }}"
OWNER: "UserTestingEnterprise"
continue-on-error: true

0 comments on commit 3834247

Please sign in to comment.