container docs fixups #125
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build adocs | |
on: | |
push: | |
branches: | |
- main | |
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: avattathil/asciidoctor-action@master | |
with: | |
program: "gem install rouge asciidoctor-multipage && asciidoctor -r asciidoctor-multipage -b multipage_html5 -D docs -a stylesheet=style.css -o index.html index.adoc && cp -r etc/ images/ api/ CNAME README.md docs/" | |
- name: Deploy docs to ghpages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} | |
publish_branch: gh-pages | |
publish_dir: ./docs/ |