Commit 00fb0632 authored by Susanne Arndt's avatar Susanne Arndt
Browse files

Update .gitlab-ci.yml

parent 94b3c7ae
Pipeline #60293 failed with stage
image: ruby:2.7
pages:
stage: deploy
variables:
WIDOCO_VERSION: 1.4.15
script:
- mkdir .public
- cp -r * .public
- mv .public public
- echo "Installing Java..."
- apt-get update
- apt-get -y install default-jdk
- echo "Creating documentation..."
- mkdir doc
- wget https://github.com/dgarijo/Widoco/releases/download/v$WIDOCO_VERSION/widoco-$WIDOCO_VERSION-jar-with-dependencies.jar -O widoco.jar
- java -jar widoco.jar -ontFile ListDB-Onto.owl -outFolder doc -webVowl -uniteSections -oops -rewriteAll -confFile config.properties
- ls -al doc
- mv doc/ontology.rdf doc/ontology.xml
- mv doc/OOPSevaluation doc/OOPSEvaluation
- ls -al doc/OOPSEvaluation
- mv doc/index-en.html doc/index.html
- sed -i -e 's/<!-- <dt>Evaluation/<dt>Evaluation/g' -e 's/OOPS!" \/><\/a><\/dd> -->/OOPS!" \/><\/a><\/dd> /g' doc/index.html
#- echo "Adding textual inputs to the documentation HTML"
#- sed -i -f ci/replace-intro.sed doc/index.html
#- sed -i -f ci/replace-description.sed doc/index.html
#- sed -i -f ci/replace-references.sed doc/index.html
#- echo "Copying results to /public for publishing..."
- rm -rf public/
- mkdir public
- cp -r doc/* public
artifacts:
paths:
- public
- public
only:
- main
- main
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment