Skip to content

[maven-release-plugin] prepare for next development iteration #8

[maven-release-plugin] prepare for next development iteration

[maven-release-plugin] prepare for next development iteration #8

Workflow file for this run

name: Generate site + javadoc github pages
on:
push:
branches: [ "main" ]
workflow_dispatch:
permissions:
contents: read
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: 11
distribution: 'temurin'
cache: 'maven'
- name: Generate site (project info and javadoc)
run: mvn -B clean site
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: './target/site'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1