Add actoin

This commit is contained in:
libraryaddict 2024-09-10 15:59:23 +12:00
parent 10e3a79aa6
commit 8e1fb178ba

22
.github/workflows/javadoc.yml vendored Normal file
View File

@ -0,0 +1,22 @@
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
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
javadoc-branch: javadoc
java-version: 17
target-folder: javadoc
project: gradle