forked from puppetlabs/puppet
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f49ec0e
commit b3f1d58
Showing
1 changed file
with
15 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,14 +4,15 @@ name: Generate Docs | |
on: | ||
push: | ||
branches: | ||
- main | ||
- reftest | ||
|
||
#permissions: | ||
# contents: write | ||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
generate_docs: | ||
#if: ${{ github.repository_owner == 'puppetlabs' }} | ||
# REMIND | ||
# if: ${{ github.repository_owner == 'puppetlabs' }} | ||
runs-on: ubuntu-latest | ||
name: Generate Docs | ||
env: | ||
|
@@ -27,10 +28,15 @@ jobs: | |
ruby-version: 3.1 | ||
bundler-cache: true | ||
|
||
- name: Install pandoc | ||
run: | | ||
sudo apt update | ||
sudo apt install -y pandoc groff | ||
- name: Setup pandoc | ||
uses: pandoc/actions/[email protected] | ||
with: | ||
version: 3.1.8 | ||
|
||
#- name: Install pandoc | ||
#run: | | ||
# sudo apt update | ||
#sudo apt install -y pandoc groff | ||
|
||
- name: Generate references | ||
id: generate-references | ||
|
@@ -46,5 +52,5 @@ jobs: | |
author_email: [email protected] | ||
message: 'Update references' | ||
add: 'man references' | ||
push: false | ||
push: true | ||
|