Skip to content

Adding new hcp-ocpv config (#7580) #27

Adding new hcp-ocpv config (#7580)

Adding new hcp-ocpv config (#7580) #27

Workflow file for this run

name: build adocs
on:
push:
branches:
- development
jobs:
adoc_build:
runs-on: ubuntu-latest
name: Asciidoctoring the docs to pretty HTML!
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Get build container
id: adocbuild
uses: rhpds/asciidoctor-action@master
with:
program: "asciidoctor -D public/ --backend=html5 -o index.html docs/README.adoc"
- name: Copy Image folder to public/ dir
run: sudo cp -r docs/images/ public/images
- name: Print execution time
run: echo "Time ${{ steps.adocbuild.outputs.time }}"
- name: Deploy docs to ghpages
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
publish_branch: gh-pages
publish_dir: ./public/