Skip to content

Commit a1bc44a

Browse files
authored
[#810] Publish javadoc to the documentation site (#811)
1 parent 7875e95 commit a1bc44a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/deploy.yml

+8
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,12 @@ jobs:
5454
MAVEN_OPTS: -Dhttps.protocols=TLSv1.2 -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dmaven.wagon.http.retryHandler.requestSentEnabled=true -Dmaven.wagon.http.retryHandler.count=10
5555
if: ${{ github.event.workflow_run.event=='push' && env.MAVEN_USERNAME!='' && env.MAVEN_PASSWORD!=''}}
5656
run: mvn --batch-mode --errors --update-snapshots -Dgpg.passphrase=${{ secrets.GPG_PASSPHRASE }} deploy --file pom.xml
57+
- name: Build Javadoc
58+
run: |
59+
mvn javadoc:aggregate -pl '-:openam-server,-:openam-server-only' \
60+
-pl '-:openam-ui,-:openam-ui-ria,-:openam-ui-api' \
61+
-pl '-:openam-server-auth-ui,-:openam-doc-ssoadm-ref,-:openam-liberty-schema' \
62+
-pl '-:openam-example-api-descriptor,-:openam-example-clientsdk-cli,-:openam-example-clientsdk-war'
5763
- name: Upload artifacts OpenAM Distribution Kit, containing all distributable artifacts
5864
uses: actions/upload-artifact@v4
5965
with:
@@ -135,6 +141,8 @@ jobs:
135141
cd doc.openidentityplatform.org
136142
rm -rf ${REPO_NAME_LC}/modules
137143
cp -R ../${SITE_DOC_FOLDER}/target/asciidoc/antora/modules ../doc.openidentityplatform.org/${REPO_NAME_LC}
144+
rm -rf ${REPO_NAME_LC}/apidocs
145+
cp -R ../target/reports/apidocs ../doc.openidentityplatform.org/${REPO_NAME_LC}
138146
git add -A
139147
if ! git diff-index --quiet HEAD; then
140148
echo "committing changes to the docs repository"

0 commit comments

Comments
 (0)