diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7b99e7a0..6b05089c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -39,3 +39,33 @@ jobs: shasum -a 256 -c codecov.SHA256SUM chmod -v +x codecov ./codecov -v + + site: + if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request' + runs-on: ubuntu-latest + + needs: + - build + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Set up JDK 11 + uses: actions/setup-java@v3 + with: + java-version: '11' + distribution: 'temurin' + cache: maven + + - name: Generate site + run: ./mvnw -B site + + - name: Upload site + uses: actions/upload-pages-artifact@v2 + with: + path: target/site + + - name: Deploy site + id: site + uses: actions/deploy-pages@v2 diff --git a/pom.xml b/pom.xml index 68e0851c..54b302e4 100644 --- a/pom.xml +++ b/pom.xml @@ -56,9 +56,11 @@ Ashley Scopes (GitHub) - ${project.url} + ${project-organisation-url} + ${project-site-url} + scm:git:${project-scm-url} scm:git:${project-scm-url} @@ -85,6 +87,7 @@ 3.6.0 3.3.0 3.10.1 + 3.4.5 3.2.1 @@ -98,6 +101,7 @@ UTF-8 https://github.com/ascopes + https://ascopes.github.io/protobuf-maven-plugin ${project.organization.url}/protobuf-maven-plugin @@ -352,6 +356,12 @@ + + org.apache.maven.plugins + maven-project-info-reports-plugin + ${maven-project-info-reports-plugin.version} + + org.apache.maven.plugins