# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven

name: CI for Maven site

on:
  push:
    branches: [ main ]
  pull_request:
    branches: [ main ]

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2
    - name: Set up JDK 15
      uses: actions/setup-java@v1
      with:
        java-version: 15.0.2
    - name: Build Maven site
      run: mvn -B site --file pom.xml

Leverage a GitHub workflow to build the Maven site on merges to main and on pull requests.
Leverage a GitHub workflow to build the Maven site on merges to main and on pull requests.
