Skip to content

[docs] Generate HTML from .adoc and workspace.dsl and publish #448

[docs] Generate HTML from .adoc and workspace.dsl and publish

[docs] Generate HTML from .adoc and workspace.dsl and publish #448

name: asciidoctor-docs
on: [push]
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
# 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]
with:
asciidoctor_params: -r asciidoctor-diagram
source_dir: doc
post_build: git add -f *.png