-
Notifications
You must be signed in to change notification settings - Fork 3
38 lines (34 loc) · 1.11 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
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
pylode -o application.html -i application.ttl
pylode -o index.html -i index.ttl
pylode -o co.html -i co.ttl
pylode -o cs.html -i cs.ttl
pylode -o datum.html -i datum.ttl
pylode -o planet.html -i planet.ttl
pylode -o projection.html -i projection.ttl
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4.3.3
with:
BRANCH: gh-pages
FOLDER: docs/
clean: false