Skip to content

Merge pull request #5 from mje-s/main #5

Merge pull request #5 from mje-s/main

Merge pull request #5 from mje-s/main #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 - docs/"
mkdir docs
echo "Add README to docs/"
asciidoctor README.adoc -o docs/index.html
echo "Add model to docs/"
asciidoctor 00-master.adoc -o docs/model.html
echo "Add RDF files to docs/"
cp *.ttl docs/
echo "Add images to docs/"
cp -r img docs/
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
BRANCH: gh-pages
FOLDER: docs