diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c5f55ac..a594543 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -49,16 +49,17 @@ jobs: - name: Create docs shell: bash run: | - mkdir test2 - chmod 777 test2 while read p; do newFolder="$(echo "$p" | sed s/Ontology.owl//g | sed s/development\\///g | sed s/PD/pd-/g | tr '[:upper:]' '[:lower:]')/$(xmllint $p --xpath "//*[local-name()='RDF']/*[local-name()='Ontology']/*[local-name()='versionInfo']/text()" | sed s/v//g )" ontology="$(echo $p | sed s/development\\///g)" + mkdir -p $newFolder + chmod 777 $newFolder echo "$ontology -> $newFolder" docker run --rm \ -v `pwd`/development:/usr/local/widoco/in:Z \ - -v `pwd`/test2:/usr/local/widoco/out:Z \ + -v `pwd`/`$newFolder`:/usr/local/widoco/out:Z \ ghcr.io/dgarijo/widoco:latest -ontFile in/$ontology -outFolder out -noPlaceHolderText + ls -la $newFolder done < updated_files.txt # What files were changed: @@ -68,6 +69,7 @@ jobs: cat updated_files.txt git status git diff + tree #env: # GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/development/PDCognitiveOntology.owl b/development/PDCognitiveOntology.owl index 9649082..12ed32b 100644 --- a/development/PDCognitiveOntology.owl +++ b/development/PDCognitiveOntology.owl @@ -36,7 +36,7 @@