Skip to content

Commit

Permalink
Stops generating pages footer
Browse files Browse the repository at this point in the history
  • Loading branch information
manoelcampos committed Aug 15, 2020
1 parent af181a3 commit d98b24d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/asciidoctor-ghpages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,6 @@ jobs:

# Includes the AsciiDoctor GitHub Pages Action to convert adoc files to html and publish to gh-pages branch
- name: asciidoctor-ghpages
uses: manoelcampos/[email protected]
uses: manoelcampos/[email protected]
with:
asciidoctor_params: '--attribute=nofooter'
3 changes: 3 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ inputs:
asciidoctor_params:
description: 'Extra parameters to passs to the asciidoctor command to customize the process of building adoc files'
required: false


runs:
using: "composite"
Expand Down Expand Up @@ -40,6 +41,8 @@ runs:
# shell: bash

- name: Converting AsciiDoc files to HTML
env:
INPUT_ASCIIDOCTOR_PARAMS: ${{ inputs.asciidoctor_params }}
run: |
echo "Extra asciidoctor params: $INPUT_ASCIIDOCTOR_PARAMS"
find . -name "*.adoc" | xargs asciidoctor -b html $INPUT_ASCIIDOCTOR_PARAMS
Expand Down

0 comments on commit d98b24d

Please sign in to comment.