diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 94fe71ef3..9f59a1490 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -71,7 +71,7 @@ jobs: with: repository: ${{ github.repository }}.wiki path: ${{ github.event.repository.name }}.wiki - - name: Publish docs in wiki + - name: Publish docs to wiki continue-on-error: true shell: bash env: @@ -80,7 +80,27 @@ jobs: run: | cd ${{ github.event.repository.name }}.wiki rm -rf docbkx - mv ../openidm-doc/target/docbkx ../${{ github.event.repository.name }}.wiki + cp -R ../openidm-doc/target/docbkx ../${{ github.event.repository.name }}.wiki git add -A git commit -a -m "upload docs after deploy ${{ github.sha }}" git push --quiet --force + + - uses: actions/checkout@v4 + continue-on-error: true + with: + repository: OpenIdentityPlatform/doc.openidentityplatform.org + path: doc.openidentityplatform.org + token: ${{ secrets.OIP_PAT_GH_TOKEN }} + + - name: Publish docs to site + continue-on-error: true + shell: bash + run: | + export REPO_NAME_LC=$(echo '${{github.event.repository.name}}' | tr '[:upper:]' '[:lower:]') + export SITE_DOC_FOLDER=${REPO_NAME_LC}-doc + cd doc.openidentityplatform.org + rm -rf ${REPO_NAME_LC} + cp -R ../${SITE_DOC_FOLDER}/target/docbkx/bootstrap ../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 \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 482fff47d..4c5f4c6ab 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -91,6 +91,23 @@ jobs: git tag -f ${{ github.event.inputs.releaseVersion }} git push --quiet --force git push --quiet --force origin ${{ github.event.inputs.releaseVersion }} + + - uses: actions/checkout@v4 + continue-on-error: true + with: + repository: OpenIdentityPlatform/doc.openidentityplatform.org + path: doc.openidentityplatform.org + token: ${{ secrets.OIP_PAT_GH_TOKEN }} + - name: Publish docs to site + continue-on-error: true + shell: bash + run: | + export REPO_NAME_LC=$(echo '${{github.event.repository.name}}' | tr '[:upper:]' '[:lower:]') + export TAG_NAME='${{github.event.repository.name}}-${{ github.event.inputs.releaseVersion }}' + cd doc.openidentityplatform.org + git tag -f '${TAG_NAME}' + git push --quiet --force origin '${TAG_NAME}' + release-docker: name: Docker release runs-on: 'ubuntu-latest' diff --git a/openidm-doc/pom.xml b/openidm-doc/pom.xml index 48517d4fb..b04c82000 100644 --- a/openidm-doc/pom.xml +++ b/openidm-doc/pom.xml @@ -41,7 +41,6 @@ org.openidentityplatform.commons doc-maven-plugin - ${commons-plugin.version} build-man-pages @@ -67,6 +66,7 @@ pdf webhelp xhtml5 + bootstrap diff --git a/openidm-ui/openidm-ui-admin/package.json b/openidm-ui/openidm-ui-admin/package.json index e34753408..aab1e6e36 100644 --- a/openidm-ui/openidm-ui-admin/package.json +++ b/openidm-ui/openidm-ui-admin/package.json @@ -21,7 +21,7 @@ "grunt-cli": "1.2.0", "grunt-contrib-copy": "1.0.0", "grunt-contrib-less": "1.3.0", - "grunt-contrib-qunit": "8.0.1", + "grunt-contrib-qunit": "10.1.1", "grunt-contrib-requirejs": "1.0.0", "grunt-contrib-watch": "1.0.0", "grunt-eslint": "17.3.2", diff --git a/openidm-ui/openidm-ui-enduser/package.json b/openidm-ui/openidm-ui-enduser/package.json index b0575e3a5..378d361e8 100644 --- a/openidm-ui/openidm-ui-enduser/package.json +++ b/openidm-ui/openidm-ui-enduser/package.json @@ -21,7 +21,7 @@ "grunt-cli": "1.2.0", "grunt-contrib-copy": "1.0.0", "grunt-contrib-less": "1.3.0", - "grunt-contrib-qunit": "8.0.1", + "grunt-contrib-qunit": "10.1.1", "grunt-contrib-requirejs": "1.0.0", "grunt-contrib-watch": "1.0.0", "grunt-eslint": "17.3.2", diff --git a/pom.xml b/pom.xml index 4708f6bef..f1a29becb 100644 --- a/pom.xml +++ b/pom.xml @@ -183,7 +183,6 @@ 2.7 1.5 - 2.1.4 1.0b3