diff --git a/.github/workflows/gem_release.yml b/.github/workflows/gem_release.yml index 3204244..1a3a917 100644 --- a/.github/workflows/gem_release.yml +++ b/.github/workflows/gem_release.yml @@ -12,6 +12,10 @@ on: default: "main" type: "string" +env: + PUPPET_FORGE_TOKEN: ${{ secrets.PUPPET_FORGE_TOKEN || secrets.PUPPET_FORGE_TOKEN_PUBLIC }} + BUNDLE_RUBYGEMS___PUPPETCORE__PUPPET__COM: "forge-key:${{ secrets.PUPPET_FORGE_TOKEN || secrets.PUPPET_FORGE_TOKEN_PUBLIC }}" + jobs: release: name: "Release" diff --git a/.github/workflows/gem_release_prep.yml b/.github/workflows/gem_release_prep.yml index 4cdfbc1..1976e25 100644 --- a/.github/workflows/gem_release_prep.yml +++ b/.github/workflows/gem_release_prep.yml @@ -17,6 +17,10 @@ on: required: true type: "string" +env: + PUPPET_FORGE_TOKEN: ${{ secrets.PUPPET_FORGE_TOKEN || secrets.PUPPET_FORGE_TOKEN_PUBLIC }} + BUNDLE_RUBYGEMS___PUPPETCORE__PUPPET__COM: "forge-key:${{ secrets.PUPPET_FORGE_TOKEN || secrets.PUPPET_FORGE_TOKEN_PUBLIC }}" + jobs: release_prep: name: "Release Prep"