Merge pull request #2 from situx/main #1
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: Java CI | |
on: [push] | |
jobs: | |
ontdocI: | |
uses: sparqlunicorn/sparqlunicornGoesGIS-ontdoc/.github/workflows/udoc.yml@main | |
name: Ontdoc I | |
with: | |
version: v017dev | |
rdffilepath: data/loc_discoverysite_1.ttl data/loc_kilnregion_1.ttl data/loc_productioncentre_1.ttl data/loc_repositorylocation_1.ttl data/placeasaconcept_1.ttl | |
docpath: docs/ | |
prefixns: http://data.archaeology.link/data/samian/ | |
prefixnsshort: ars | |
indexpages: true | |
metadatatable: false | |
createcollections: true | |
createnonNSPages: false | |
createVOWL: false | |
preferredlang: en | |
ghpages: true | |
datasettitle: Linked Open Samian Ware | |
templatedir: https://github.com/archaeolink-lod/unicorn-ontdoc-template-archaeolink/archive/refs/tags/v0.5.zip | |
ghpagesfolder: ontdoc/ | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 🛎 Check out main | |
uses: actions/checkout@main | |
with: | |
fetch-depth: 1 | |
sudo apt-get install python3 python3-pip -y | |
- name: Create Ontology Documentation 🔧 | |
run: | | |
sudo apt-get install python3 python3-pip ruby -y | |
pip3 install pylode | |
sudo gem install bundler jekyll | |
sudo bundle install | |
mkdir docs | |
bundle exec jekyll build -d docs | |
cd docs | |
python3 -m pylode -o ontology.html ../ontology/ontology.ttl | |
- name: Deploy 🚀 | |
uses: JamesIves/github-pages-deploy-action@v4.3.3 | |
with: | |
BRANCH: gh-pages | |
FOLDER: docs/ |