-
Notifications
You must be signed in to change notification settings - Fork 2
51 lines (45 loc) · 1.63 KB
/
ontdoc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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/