Releases: manoelcampos/asciidoctor-ghpages-action
v2.1.0 - Support for defining the source dir for publishing to gh-pages
You can use the new source_dir
parameter to define the source directory from where AsciiDoc files will be built and published to gh-pages.
- name: asciidoctor-ghpages
uses: manoelcampos/asciidoctor-ghpages-action@v2
with:
source_dir: docs/
v2.0.4 - Pass additional parameters to asciidoctor-pdf too
If you use the asciidoctor_params
attribute inside your workflow to define extra build parameters, they will be passed to the asciidoctor-pdf
too.
v2.0.3 Enable performing arbitrary post-processing tasks
Closes #8 - Provides the new post_build
parameter to enable running any arbitrary post-processing shell command which will be performed before changes are committed to the gh-pages
branch.
v2.0.1 :: Support for main and master branch
Support for main and master branch (PR #7) - Adds command to check master/main branch name. - Print the name of the default branch. Co-authored-by: Manoel Campos <[email protected]>
v2.0.0 - Changes the action to docker type for more flexibility
This release doesn't provide any new functional features. It just re-structures the action to use a docker container and the official AsciiDoctor Alpine image. That simplifies the script, speeds up the build process and makes it easier to maintain the action.
These changes enable the action to run inside a local docker container on your computer using nektos/act tool. Check PR #6 for details.
v1.3.0 - Enables building AsciiDoc Reveal.js slides and PDF ebook
The new pdf_build
boolean option enables building an ebook.pdf
alongside the generated HTML files. The ebook is built from the README AsciiDoc file.
The slides generation parameters are:
slides_build: boolean
- enables building a slides.html file (default false)slides_main_adoc_file: string
- defines the name of the AsciiDoc source file to build the slides (default 'README')slides_skip_asciidoctor_build: boolean
- to enable skippig the build of regular html files using the asciidoctor command, if you just want to generate the slides (default false)
v1.2.0 - Enables defining the extension of your AsciiDoc Files
The new adoc_file_ext
input parameter allows you to indicate the extension you are using for you AsciiDoc Files. By default is .adoc
, but other extensions such as .asciidoc
or .asc
are used too. In this case, you have to indicate wich one you are using.
v1.1.0 - Enables passing extra parameters for asciidoctor command
Now you can customize the process of building the adoc
files, passing extra parameters to the asciidoctor
command by including the asciidoctor_params
configuration.
v1.0.0 - First Release
- Recursively converts every
adoc
file tohtml
, renaming resultingREADME.html
tooindex.html
- Includes all repository files and the generated html ones into the
gh-pages
branch.