Merge pull request #211 from project-husky/develop-3.x #243
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will build the project Javadoc with Maven, and publish it in the gh-pages branch | |
name: Publish Javadoc | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up JDK 21 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '21' | |
distribution: 'temurin' | |
cache: maven | |
- name: Generate Javadoc | |
run: mvn javadoc:aggregate --batch-mode --no-transfer-progress --file pom.xml | |
- name: Publish Javadoc 🚀 | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages # The branch the action should deploy to. | |
folder: target/site/apidocs # The folder the action should deploy. |