Skip to content

Commit

Permalink
Docs in asciidoc & deploy antora docs after build (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
maximthomas committed Sep 20, 2024
1 parent 493e145 commit 60d46e7
Show file tree
Hide file tree
Showing 74 changed files with 19,547 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,9 @@ jobs:
export REPO_NAME_LC=$(echo '${{github.event.repository.name}}' | tr '[:upper:]' '[:lower:]')
export SITE_DOC_FOLDER=openig-doc
cd doc.openidentityplatform.org
rm -rf ${REPO_NAME_LC}
cp -R ../${SITE_DOC_FOLDER}/target/docbkx/bootstrap ../doc.openidentityplatform.org/${REPO_NAME_LC}
rm -rf ${REPO_NAME_LC}/modules
cp -R ../${SITE_DOC_FOLDER}/target/asciidoc/antora/modules ../doc.openidentityplatform.org/${REPO_NAME_LC}
rm -rf ${REPO_NAME_LC}/apidocs
cp -R ../target/site/apidocs ../doc.openidentityplatform.org/${REPO_NAME_LC}
git add -A
git commit -a -m "upload ${{github.event.repository.name}} docs after deploy ${{ github.sha }}"
Expand Down
20 changes: 19 additions & 1 deletion openig-doc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,10 @@
<profile>
<id>man-pages</id>
<activation>
<os><family>unix</family></os>
<os>
<family>unix</family>
<name>Linux</name>
</os>
<jdk>1.8</jdk>
</activation>
<build>
Expand All @@ -315,6 +318,21 @@
<goal>release</goal>
</goals>
</execution>
<execution>
<id>build-man-pages-asciidoc</id>
<phase>package</phase>
<goals>
<goal>asciidoc-pre-process</goal>
<goal>antora</goal>
<goal>asciidoc-to-pdf</goal>
</goals>
<configuration>
<documents>
<document>gateway-guide</document>
<document>reference</document>
</documents>
</configuration>
</execution>
</executions>
<configuration>
<projectName>OpenIG</projectName>
Expand Down
Loading

0 comments on commit 60d46e7

Please sign in to comment.