Update blank.yml #5
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: 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 geosrs.ttl docs/ | |
cd docs | |
pylode -o index.html -i geosrs.ttl | |
- name: Deploy 🚀 | |
uses: JamesIves/[email protected] | |
with: | |
BRANCH: gh-pages | |
FOLDER: docs/ | |
clean: false |