-
Notifications
You must be signed in to change notification settings - Fork 3
53 lines (49 loc) · 1.55 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
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/
cd docs
rm crsdraft.ttl geosrs.ttl
mkdir application
pylode -o application/index.html -i application.ttl
mv application.ttl application/
pylode -o index.html -i index.ttl
mkdir core
cp index.ttl index.html core/
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/
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
BRANCH: gh-pages
FOLDER: docs/
clean: false