Skip to content

Commit

Permalink
Publish javadoc to the documentation site
Browse files Browse the repository at this point in the history
  • Loading branch information
maximthomas committed Sep 4, 2024
1 parent bea497e commit e051457
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ 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 '!openig-war' -pl '!openig-ui'
- name: Upload artifacts OpenIG Server Only Component
uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -104,6 +106,7 @@ jobs:
cd doc.openidentityplatform.org
rm -rf ${REPO_NAME_LC}
cp -R ../${SITE_DOC_FOLDER}/target/docbkx/bootstrap ../doc.openidentityplatform.org/${REPO_NAME_LC}
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 }}"
git push --force https://github.com/OpenIdentityPlatform/doc.openidentityplatform.org.git
git push --force https://github.com/OpenIdentityPlatform/doc.openidentityplatform.org.git

0 comments on commit e051457

Please sign in to comment.