Skip to content

Merge pull request #68 from qtc-de/develop #1

Merge pull request #68 from qtc-de/develop

Merge pull request #68 from qtc-de/develop #1

Workflow file for this run

name: Publish JavaDoc
on:
push:
branches:
- master
paths:
- src/**
- .github/workflows/pages.yml
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout ${{ github.event.repository.name }}
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Set up JDK 1.8
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 8
cache: maven
cache-dependency-path: pom.xml
- name: Build Docs
run: |
mvn javadoc:javadoc
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: 'target/site/apidocs/'
deploy:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2