Skip to content

Commit a95b358

Browse files
authored
Add Javadoc deployment step to GitHub Actions (#181)
1 parent 766a1fd commit a95b358

2 files changed

Lines changed: 16 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,5 +71,17 @@ jobs:
7171
if: ${{ github.ref == 'refs/heads/main' && matrix.java == 17 }}
7272
uses: JamesIves/github-pages-deploy-action@v4
7373
with:
74-
branch: docs/coverage
74+
branch: docs
7575
folder: sdk/target/site/jacoco
76+
target-folder: coverage
77+
78+
- name: Deploy javadoc to Github Pages
79+
if: ${{ github.ref == 'refs/heads/main' && matrix.java == 17 }}
80+
uses: MathieuSoysal/Javadoc-publisher.yml@v3.0.2
81+
with:
82+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
83+
javadoc-branch: docs
84+
target-folder: javadoc
85+
java-version: 17
86+
project: maven
87+

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
44
[![Java](https://img.shields.io/badge/java-%3E%3D17-brightgreen)](https://openjdk.org/)
55
[![Build](https://github.com/aws/aws-durable-execution-sdk-java/actions/workflows/build.yml/badge.svg)](https://github.com/aws/aws-durable-execution-sdk-java/actions/workflows/build.yml)
6-
[![Coverage](https://raw.githubusercontent.com/aws/aws-durable-execution-sdk-java/refs/heads/docs/coverage/jacoco.svg)](https://aws.github.io/aws-durable-execution-sdk-java/)
6+
[![Javadoc](https://img.shields.io/badge/JavaDoc-Online-green)](https://aws.github.io/aws-durable-execution-sdk-java/javadoc/)
7+
[![Maven](https://badges.mvnrepository.com/badge/software.amazon.lambda.durable/aws-durable-execution-sdk-java/badge.svg?label=Maven)](https://mvnrepository.com/artifact/software.amazon.lambda.durable/aws-durable-execution-sdk-java)
8+
[![Coverage](https://raw.githubusercontent.com/aws/aws-durable-execution-sdk-java/refs/heads/docs/coverage/jacoco.svg)](https://aws.github.io/aws-durable-execution-sdk-java/coverage/)
79
[![E2E Tests](https://github.com/aws/aws-durable-execution-sdk-java/actions/workflows/e2e-tests.yml/badge.svg)](https://github.com/aws/aws-durable-execution-sdk-java/actions/workflows/e2e-tests.yml)
810
[![CodeQL](https://github.com/aws/aws-durable-execution-sdk-java/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/aws/aws-durable-execution-sdk-java/actions/workflows/github-code-scanning/codeql)
911
[![Spotless](https://github.com/aws/aws-durable-execution-sdk-java/actions/workflows/check-spotless.yml/badge.svg)](https://github.com/aws/aws-durable-execution-sdk-java/actions/workflows/check-spotless.yml)

0 commit comments

Comments
 (0)