Skip to content

idk is the github action gonna work now??? #7

idk is the github action gonna work now???

idk is the github action gonna work now??? #7

name: Deploy Javadoc
on:
push:
branches:
- master
- main
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: write # if you have a protection rule on your repository, you'll need to give write permission to the workflow.
steps:
- name: Deploy JavaDoc 🚀
uses: MathieuSoysal/Javadoc-publisher.yml@v2.5.0
# https://github.com/marketplace/actions/deploy-publish-javadoc
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
javadoc-branch: gh-pages
java-version: 8
target-folder: . # url will be https://<username>.github.io/<repo>/javadoc, This can be left as nothing to generate javadocs in the root folder.
project: maven
custom-command: javadoc -private -splitindex -use -author -version -classpath "./target/generated-sources/annotations;./src" -d . -sourcepath "/target/generated-sources/annotations;./src" -overview "./src/Overview.html" -subpackages .