Skip to content

Update README.adoc

Update README.adoc #5

Workflow file for this run

name: Auto-build HTML
on:
push:
branches:
- main
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Build
working-directory: ./
run: |
echo "installing asciidoctor"
sudo apt-get install asciidoctor ruby -y
echo "Making deployment dir - doc/"
mkdir doc
echo "Add README to doc/"
asciidoctor README.adoc -o doc/index.html
echo "Add document to doc/"
asciidoctor document/00-master.adoc -o doc/doc.html
asciidoctor document/00-master-old.adoc -o doc/doc-old.html
# echo "Add images to doc/"
# cp -r document/images doc/
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
BRANCH: gh-pages
FOLDER: doc