Skip to content

Commit

Permalink
Generate reference documentation when releasing to forge
Browse files Browse the repository at this point in the history
  • Loading branch information
daaang committed Aug 23, 2024
1 parent 16becb6 commit 68c27a2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,17 @@ jobs:
needs: "test"
steps:
- uses: "actions/checkout@v4"
- uses: "ruby/setup-ruby@v1"
with:
ruby-version: "3.3"
bundler-cache: true
- name: "get version"
id: "get_version"
run: |
echo "version=`jq --raw-output .version metadata.json`" >> $GITHUB_OUTPUT
- name: "puppet strings generate REFERENCE.md"
run: |
bundle exec puppet strings generate --format markdown --out REFERENCE.md
- name: "pdk build"
uses: "docker://puppet/pdk:3.0.0.0"
with:
Expand Down

0 comments on commit 68c27a2

Please sign in to comment.