diff --git a/.github/workflows/puppet-forge-deploy.yml b/.github/workflows/puppet-forge-deploy.yml index 527ddaa..ef6c346 100644 --- a/.github/workflows/puppet-forge-deploy.yml +++ b/.github/workflows/puppet-forge-deploy.yml @@ -22,7 +22,10 @@ default: '.' required: false type: string - + secrets: + forge_token: + description: The Puppet Forge token to use to deploy. + required: true jobs: forge-deploy: defaults: @@ -46,7 +49,7 @@ jobs: run: 'bundle exec pdk build --force' - name: 'Publish package to Puppet Forge' env: - BLACKSMITH_FORGE_URL: 'https://forgeapi.puppet.com' - BLACKSMITH_FORGE_API_KEY: ${{ secrets.BLACKSMITH_FORGE_API_KEY }} - run: 'bundle exec rake module:push' + # BLACKSMITH_FORGE_URL: 'https://forgeapi.puppet.com' + PDK_FORGE_TOKEN: ${{ secrets.forge_token }} + run: 'bundle exec pdk release publish' timeout-minutes: ${{ inputs.timeout_minutes }}