Skip to content

Commit

Permalink
[#810] Publish javadoc to the documentation site (#811)
Browse files Browse the repository at this point in the history
  • Loading branch information
maximthomas authored Nov 21, 2024
1 parent 7875e95 commit a1bc44a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@ jobs:
MAVEN_OPTS: -Dhttps.protocols=TLSv1.2 -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dmaven.wagon.http.retryHandler.requestSentEnabled=true -Dmaven.wagon.http.retryHandler.count=10
if: ${{ github.event.workflow_run.event=='push' && env.MAVEN_USERNAME!='' && env.MAVEN_PASSWORD!=''}}
run: mvn --batch-mode --errors --update-snapshots -Dgpg.passphrase=${{ secrets.GPG_PASSPHRASE }} deploy --file pom.xml
- name: Build Javadoc
run: |
mvn javadoc:aggregate -pl '-:openam-server,-:openam-server-only' \
-pl '-:openam-ui,-:openam-ui-ria,-:openam-ui-api' \
-pl '-:openam-server-auth-ui,-:openam-doc-ssoadm-ref,-:openam-liberty-schema' \
-pl '-:openam-example-api-descriptor,-:openam-example-clientsdk-cli,-:openam-example-clientsdk-war'
- name: Upload artifacts OpenAM Distribution Kit, containing all distributable artifacts
uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -135,6 +141,8 @@ jobs:
cd doc.openidentityplatform.org
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/reports/apidocs ../doc.openidentityplatform.org/${REPO_NAME_LC}
git add -A
if ! git diff-index --quiet HEAD; then
echo "committing changes to the docs repository"
Expand Down

0 comments on commit a1bc44a

Please sign in to comment.