Skip to content

Update javadoc.yml

Update javadoc.yml #3

Workflow file for this run

name: Deploy Javadoc
on:
push:
branches: [ "**" ]
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: 17
distribution: adopt
server-id: xenondevs-nms
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
- name: Build with Maven
run: mvn -B clean compile -P xenondevs-nms
env:
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
- name: Create Javadoc
run: mvn -B javadoc:javadoc -pl invui-core -P xenondevs-nms
env:
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
- name: Deploy to Github Pages
uses: JamesIves/[email protected]
with:
folder: invui-core/target/site