Skip to content

build adocs

build adocs #498

Workflow file for this run

name: build adocs
on:
push:
branches:
- main
paths:
- 'docs/**'
- '.github/workflows/adocs-build.yml'
workflow_dispatch:
jobs:
adoc_build:
runs-on: ubuntu-20.04
name: docs
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: "Generate site using antora site action"
uses: bfranske/antora-site-action@master
with:
antora_playbook: antora-playbook.yml
site_sources_path: docs
antora_lunr_docsearch_enabled: 'true'
- name: Print execution time
run: echo "Time ${{ steps.adocbuild.outputs.timestamp }}"
- name: Deploy docs to ghpages
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
publish_dir: ./docs/build/site
external_repository: featurehub-io/featurehub-io
publish_branch: master
cname: docs.featurehub.io