Skip to content

Fixed upload-pages-artifact version 2.0 #4

Fixed upload-pages-artifact version 2.0

Fixed upload-pages-artifact version 2.0 #4

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
- uses: actions/upload-pages-artifact@v3
with:
path: target/reports/apidocs
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/deploy-pages@v4