Skip to content

Commit 5f96878

Browse files
Add workflow to publish Javadoc
1 parent e583759 commit 5f96878

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Publish Javadoc
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
publish:
10+
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write # if you have a protection rule on your repository, you'll need to give write permission to the workflow.
13+
steps:
14+
- name: Deploy JavaDoc
15+
uses: MathieuSoysal/Javadoc-publisher.yml@v3.0.2
16+
with:
17+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18+
javadoc-branch: javadoc
19+
java-version: 17
20+
project: gradle

0 commit comments

Comments
 (0)