Skip to content

Commit 6befd7e

Browse files
authored
1 parent e388db9 commit 6befd7e

File tree

6 files changed

+42
-6
lines changed

6 files changed

+42
-6
lines changed

.github/workflows/deploy.yml

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
with:
7272
repository: ${{ github.repository }}.wiki
7373
path: ${{ github.event.repository.name }}.wiki
74-
- name: Publish docs in wiki
74+
- name: Publish docs to wiki
7575
continue-on-error: true
7676
shell: bash
7777
env:
@@ -80,7 +80,27 @@ jobs:
8080
run: |
8181
cd ${{ github.event.repository.name }}.wiki
8282
rm -rf docbkx
83-
mv ../openidm-doc/target/docbkx ../${{ github.event.repository.name }}.wiki
83+
cp -R ../openidm-doc/target/docbkx ../${{ github.event.repository.name }}.wiki
8484
git add -A
8585
git commit -a -m "upload docs after deploy ${{ github.sha }}"
8686
git push --quiet --force
87+
88+
- uses: actions/checkout@v4
89+
continue-on-error: true
90+
with:
91+
repository: OpenIdentityPlatform/doc.openidentityplatform.org
92+
path: doc.openidentityplatform.org
93+
token: ${{ secrets.OIP_PAT_GH_TOKEN }}
94+
95+
- name: Publish docs to site
96+
continue-on-error: true
97+
shell: bash
98+
run: |
99+
export REPO_NAME_LC=$(echo '${{github.event.repository.name}}' | tr '[:upper:]' '[:lower:]')
100+
export SITE_DOC_FOLDER=${REPO_NAME_LC}-doc
101+
cd doc.openidentityplatform.org
102+
rm -rf ${REPO_NAME_LC}
103+
cp -R ../${SITE_DOC_FOLDER}/target/docbkx/bootstrap ../doc.openidentityplatform.org/${REPO_NAME_LC}
104+
git add -A
105+
git commit -a -m "upload ${{github.event.repository.name}} docs after deploy ${{ github.sha }}"
106+
git push --force

.github/workflows/release.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,23 @@ jobs:
9191
git tag -f ${{ github.event.inputs.releaseVersion }}
9292
git push --quiet --force
9393
git push --quiet --force origin ${{ github.event.inputs.releaseVersion }}
94+
95+
- uses: actions/checkout@v4
96+
continue-on-error: true
97+
with:
98+
repository: OpenIdentityPlatform/doc.openidentityplatform.org
99+
path: doc.openidentityplatform.org
100+
token: ${{ secrets.OIP_PAT_GH_TOKEN }}
101+
- name: Publish docs to site
102+
continue-on-error: true
103+
shell: bash
104+
run: |
105+
export REPO_NAME_LC=$(echo '${{github.event.repository.name}}' | tr '[:upper:]' '[:lower:]')
106+
export TAG_NAME='${{github.event.repository.name}}-${{ github.event.inputs.releaseVersion }}'
107+
cd doc.openidentityplatform.org
108+
git tag -f '${TAG_NAME}'
109+
git push --quiet --force origin '${TAG_NAME}'
110+
94111
release-docker:
95112
name: Docker release
96113
runs-on: 'ubuntu-latest'

openidm-doc/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
<plugin>
4242
<groupId>org.openidentityplatform.commons</groupId>
4343
<artifactId>doc-maven-plugin</artifactId>
44-
<version>${commons-plugin.version}</version>
4544
<executions>
4645
<execution>
4746
<id>build-man-pages</id>
@@ -67,6 +66,7 @@
6766
<format>pdf</format>
6867
<format>webhelp</format>
6968
<format>xhtml5</format>
69+
<format>bootstrap</format>
7070
</formats>
7171
</configuration>
7272
</plugin>

openidm-ui/openidm-ui-admin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"grunt-cli": "1.2.0",
2222
"grunt-contrib-copy": "1.0.0",
2323
"grunt-contrib-less": "1.3.0",
24-
"grunt-contrib-qunit": "8.0.1",
24+
"grunt-contrib-qunit": "10.1.1",
2525
"grunt-contrib-requirejs": "1.0.0",
2626
"grunt-contrib-watch": "1.0.0",
2727
"grunt-eslint": "17.3.2",

openidm-ui/openidm-ui-enduser/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"grunt-cli": "1.2.0",
2222
"grunt-contrib-copy": "1.0.0",
2323
"grunt-contrib-less": "1.3.0",
24-
"grunt-contrib-qunit": "8.0.1",
24+
"grunt-contrib-qunit": "10.1.1",
2525
"grunt-contrib-requirejs": "1.0.0",
2626
"grunt-contrib-watch": "1.0.0",
2727
"grunt-eslint": "17.3.2",

pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,6 @@
183183
<apache.commons-io.version>2.7</apache.commons-io.version>
184184
<apache.commons-fileupload.version>1.5</apache.commons-fileupload.version>
185185

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

189188
<java.surefire.options />

0 commit comments

Comments
 (0)