Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
maximthomas authored Jul 30, 2024
1 parent e388db9 commit 6befd7e
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 6 deletions.
24 changes: 22 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
17 changes: 17 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion openidm-doc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
<plugin>
<groupId>org.openidentityplatform.commons</groupId>
<artifactId>doc-maven-plugin</artifactId>
<version>${commons-plugin.version}</version>
<executions>
<execution>
<id>build-man-pages</id>
Expand All @@ -67,6 +66,7 @@
<format>pdf</format>
<format>webhelp</format>
<format>xhtml5</format>
<format>bootstrap</format>
</formats>
</configuration>
</plugin>
Expand Down
2 changes: 1 addition & 1 deletion openidm-ui/openidm-ui-admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion openidm-ui/openidm-ui-enduser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 0 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,6 @@
<apache.commons-io.version>2.7</apache.commons-io.version>
<apache.commons-fileupload.version>1.5</apache.commons-fileupload.version>

<commons-plugin.version>2.1.4</commons-plugin.version>
<ant.contrib.version>1.0b3</ant.contrib.version>

<java.surefire.options />
Expand Down

0 comments on commit 6befd7e

Please sign in to comment.