name: 'build asciidoctor action'
author: 'Tony Vattathil'
description: 'asciidoctor Build action'

branding:
  icon: 'file'
  color: 'green'
inputs:
    program:
        description: 'asciidoctor '
        required: true
        default: 'asciidoctor -D docs --backend=html5 -o index.html -a toc2 ddocs/index.adoc'
runs:
    using: 'docker'
    image: 'Dockerfile'
    args:
        - ${{ inputs.program }}
outputs:
    time:
        description: 'Action Completed'
