Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
coreone committed Nov 15, 2023
1 parent 08f759d commit 63db83c
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/puppet-forge-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 }}

0 comments on commit 63db83c

Please sign in to comment.