Skip to content

Create actions-publish-javadoc.yml #1

Create actions-publish-javadoc.yml

Create actions-publish-javadoc.yml #1

name: Deploy Javadoc
permissions:
contents: write
on:
push:
branches:
- master
- main
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Deploy javadoc to Github Pages
uses: dev-vince/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
java-version: "1.8" # Replace with your java version. Default is 17
project: maven # The project type. By default maven
branch: "gh-pages" # The branch for the javadoc contents. By default gh-pages