Skip to content

Commit

Permalink
Update ontdoc-gitlab-template.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
situx authored Nov 29, 2023
1 parent 529e4c1 commit aec3431
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions ontdoc-gitlab-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,13 @@ spec:
publishingorg:
default: ""
type: string
deploypath:
default: ""
type: string

---
image: ubuntu:latest

before_script:
pages:
stage: deploy
script:
- apt-get update
- apt-get install python3 python3-pip git -y
- pip3 install rdflib shapely pillow requests
Expand All @@ -98,11 +97,7 @@ before_script:
- cd ..
- cp ontdocscript/docgeneration.py .
- cp ontdocscript/prefixes.json .


pages:
stage: deploy
script: python3 docgeneration.py --input "$[[inputs.rdffilepath]]" --output "$[[inputs.docpath]]" --prefixns "$[[inputs.prefixns]]" --prefixnsshort "$[[inputs.prefixnsshort]]" --createIndexPages "$[[inputs.indexpages]]" --createCollections "$[[inputs.createcollections]]" --labellang "$[[inputs.preferredlang]]" --license "$[[inputs.license]]" --logourl "$[[inputs.logourl]]" --metadatatable "$[[inputs.metadatatable]]" --nonnspages "$[[inputs.createnonNSPages]]" --createvowl "$[[inputs.createVOWL]]" --ogcapifeatures "$[[inputs.ogcapifeatures]]" --iiif "$[[inputs.iiif]]" --ckan "$[[inputs.ckan]]" --startconcept "$[[inputs.startconcept]]" --deploypath "https://$CI_PROJECT_NAMESPACE.github.io/$CI_PROJECT_NAME" --templatepath "$[[inputs.templatedir]]" --offlinecompat "$[[inputs.offlinecompat]]" --exports "$[[inputs.exports]]" --datasettitle "$[[inputs.datasettitle]]" --publisher "$[[inputs.publisher]]" --publishingorg "$[[inputs.publishingorg]]"
- python3 docgeneration.py --input "$[[inputs.rdffilepath]]" --output "$[[inputs.docpath]]" --prefixns "$[[inputs.prefixns]]" --prefixnsshort "$[[inputs.prefixnsshort]]" --createIndexPages "$[[inputs.indexpages]]" --createCollections "$[[inputs.createcollections]]" --labellang "$[[inputs.preferredlang]]" --license "$[[inputs.license]]" --logourl "$[[inputs.logourl]]" --metadatatable "$[[inputs.metadatatable]]" --nonnspages "$[[inputs.createnonNSPages]]" --createvowl "$[[inputs.createVOWL]]" --ogcapifeatures "$[[inputs.ogcapifeatures]]" --iiif "$[[inputs.iiif]]" --ckan "$[[inputs.ckan]]" --startconcept "$[[inputs.startconcept]]" --deploypath "https://$CI_PROJECT_NAMESPACE.github.io/$CI_PROJECT_NAME" --templatepath "$[[inputs.templatedir]]" --offlinecompat "$[[inputs.offlinecompat]]" --exports "$[[inputs.exports]]" --datasettitle "$[[inputs.datasettitle]]" --publisher "$[[inputs.publisher]]" --publishingorg "$[[inputs.publishingorg]]"
artifacts:
paths:
- "$[[inputs.docpath]]"

0 comments on commit aec3431

Please sign in to comment.