-
Notifications
You must be signed in to change notification settings - Fork 3
59 lines (55 loc) · 1.72 KB
/
blank.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
52
53
54
55
56
57
58
59
name: Ontology Documentation CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install python3 python3-setuptools python3-pip python3-dev -y
sudo apt-get install gcc libpq-dev -y
sudo apt-get install doxygen graphviz -y
sudo apt-get install python3-venv python3-wheel -y
sudo pip3 install wheel pylode==2.13.2
- name: Create Ontology Documentation 🔧
run: |
python3 scripts/srsbuild.py
mkdir docs
mv *.ttl docs/
mv index.html docs/
cd docs
mkdir application
pylode -o application/index.html -i application.ttl
mv application.ttl application/
mkdir alignments
pylode -o alignments/index.html -i alignments.ttl
mv alignments.ttl alignments/
mkdir core
mv index.ttl core/
cd core
pylode -o index.html -i index.ttl
cd ..
mkdir co
pylode -o co/index.html -i co.ttl
mv co.ttl co/
mkdir cs
pylode -o cs/index.html -i cs.ttl
mv cs.ttl cs/
mkdir datum
pylode -o datum/index.html -i datum.ttl
mv datum.ttl datum/
mkdir planet
pylode -o planet/index.html -i planet.ttl
mv planet.ttl planet/
mkdir projection
pylode -o projection/index.html -i projection.ttl
mv projection.ttl projection/
rm objprop.ttl datatypeprop.ttl
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
BRANCH: gh-pages
FOLDER: docs/
clean: false