Skip to content

Cleaned up project & added workflows #1

Cleaned up project & added workflows

Cleaned up project & added workflows #1

Workflow file for this run

name: Publish Docs
on: [push, workflow_dispatch]
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- run: |
mvn install
mvn javadoc:javadoc
- uses: actions/configure-pages@v3
# id: pages
- uses: actions/upload-pages-artifact@v1
with:
path: target/reports/apidocs
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4
# id: deployment