Skip to content

Merge pull request #287 from ArcadeData/dependabot/maven/org.asciidoc… #542

Merge pull request #287 from ArcadeData/dependabot/maven/org.asciidoc…

Merge pull request #287 from ArcadeData/dependabot/maven/org.asciidoc… #542

Workflow file for this run

name: build adocs
on:
push:
branches:
- main
jobs:
adoc_build:
runs-on: ubuntu-22.04
name: asciidoctor -D docs --backend=html5 -o index.html -a toc2 docs/index.adoc
steps:
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Get build container
id: adocbuild
uses: tonynv/asciidoctor-action@master
with:
program: "asciidoctor -D docs --backend=html5 -o index.html src/main/asciidoc/index.adoc"
- name: Print execution time
run: echo "Time ${{ steps.adocbuild.outputs.time }}"
- name: Deploy docs to ghpages
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
publish_branch: gh-pages
publish_dir: ./