diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 74aa99787c..105a62dcb5 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -157,5 +157,8 @@ jobs: rm -rf ${REPO_NAME_LC}/modules cp -R ../${SITE_DOC_FOLDER}/target/asciidoc/antora/modules ../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 + if ! git diff-index --quiet HEAD; then + echo "committing changes to the docs repository" + 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 + fi diff --git a/opendj-doc-generated-ref/pom.xml b/opendj-doc-generated-ref/pom.xml index 3d038032c3..0da2a8ad6d 100644 --- a/opendj-doc-generated-ref/pom.xml +++ b/opendj-doc-generated-ref/pom.xml @@ -547,32 +547,6 @@ - - maven-antrun-plugin - - - copy-man-pages - package - - run - - - - - - - - - - - - - - - - - - org.asciidoctor asciidoctor-maven-plugin @@ -671,6 +645,62 @@ + + org.apache.maven.plugins + maven-antrun-plugin + + + copy-man-pages + prepare-package + + run + + + + + + + + + + + + + + + + + + zip-docs + package + + + + + + + + + + + run + + + + + + ant-contrib + ant-contrib + ${ant.contrib.version} + + + ant + ant + + + + + diff --git a/opendj-doc-generated-ref/src/main/ant/zip.xml b/opendj-doc-generated-ref/src/main/ant/zip.xml index 39ddb42c0c..0b7292fd07 100644 --- a/opendj-doc-generated-ref/src/main/ant/zip.xml +++ b/opendj-doc-generated-ref/src/main/ant/zip.xml @@ -1,22 +1,10 @@ - - - - - - - - - - - - - - + + \ No newline at end of file