Skip to content

Commit

Permalink
Create publish-javadoc.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
hoaiocom authored Jul 14, 2023
1 parent a7f3be5 commit 424411e
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/publish-javadoc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Deploy Javadoc

on:
push:
branches:
- master
- main

jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Deploy JavaDoc 🚀
uses: MathieuSoysal/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN}}
javadoc-branch: javadoc
java-version: 17
target-folder: apidocs # url will be https://<username>.github.io/<repo>/javadoc, This can be left as nothing to generate javadocs in the root folder.
project: maven # or gradle
# subdirectories: moduleA moduleB #for subdirectories support, needs to be run with custom command

0 comments on commit 424411e

Please sign in to comment.