Skip to content

Commit ed6bbc4

Browse files
committed
Fix API documentation
1 parent 4aa73df commit ed6bbc4

3 files changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/apidocs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
cache: maven
2424
- run: $MVN install
2525
working-directory: bom
26+
- run: $MVN install
2627
- run: |
2728
mvn org.apache.maven.plugins:maven-antrun-plugin:run@copy-sources
2829
mvn org.apache.maven.plugins:maven-antrun-plugin:run@copy-demos
@@ -33,7 +34,7 @@ jobs:
3334
token: ${{ secrets.PUBLISH_CONTENT }}
3435
repository-name: patternfly-java/apidocs
3536
branch: gh-pages
36-
folder: ./target/reports/apidocs
37+
folder: ./apidoc/target/reports/apidocs
3738
clean: true
3839
force: true
3940
single-commit: true

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ jobs:
8484
cache: maven
8585
- run: $MVN install
8686
working-directory: bom
87+
- run: $MVN install
8788
- run: |
8889
$MVN org.apache.maven.plugins:maven-antrun-plugin:run@copy-sources
8990
$MVN org.apache.maven.plugins:maven-antrun-plugin:run@copy-demos
@@ -94,7 +95,7 @@ jobs:
9495
token: ${{ secrets.PUBLISH_CONTENT }}
9596
repository-name: patternfly-java/apidocs
9697
branch: gh-pages
97-
folder: ./apidoc/target/site/apidocs
98+
folder: ./apidoc/target/reports/apidocs
9899
clean: true
99100
force: true
100101
single-commit: true

apidoc/pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@
3434
</description>
3535

3636
<dependencies>
37+
<dependency>
38+
<groupId>org.jboss.elemento</groupId>
39+
<artifactId>elemento-core</artifactId>
40+
</dependency>
3741
<dependency>
3842
<groupId>org.jboss.elemento</groupId>
3943
<artifactId>elemento-svg</artifactId>

0 commit comments

Comments
 (0)