Skip to content
This repository has been archived by the owner on Mar 30, 2022. It is now read-only.

Commit

Permalink
initial commit - scafolding
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholascar committed Feb 23, 2022
0 parents commit 480e8e1
Show file tree
Hide file tree
Showing 5 changed files with 844 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Auto-build HTML

on:
push:
branches:
- main
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 supermodel to docs/"
asciidoctor 01-supermodel.adoc -o docs/supermodel.html
sed -i 's#img src="#img src="https://surroundaustralia.github.io/loci-supermodel/#' docs/supermodel.html
echo "Add supermodel RDF to docs/"
cp rdf/*.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
Loading

0 comments on commit 480e8e1

Please sign in to comment.