Skip to content

Merge pull request #534 from CycloneDX/dependabot/github_actions/acti… #330

Merge pull request #534 from CycloneDX/dependabot/github_actions/acti…

Merge pull request #534 from CycloneDX/dependabot/github_actions/acti… #330

Workflow file for this run

name: Publish documentation
on:
push:
branches:
- master
workflow_dispatch:
permissions: { }
jobs:
build-documentation:
name: "Build documentation"
runs-on: ubuntu-latest
permissions:
contents: write # Required to push commits to gh-pages branch
timeout-minutes: 30
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # tag=v4.2.1
- name: Set up JDK 8
uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 # tag=v4.4.0
with:
distribution: temurin
java-version: 8
- name: Build with Maven
run: mvn -B --no-transfer-progress package
- name: Deploy documentation
uses: JamesIves/github-pages-deploy-action@881db5376404c5c8d621010bcbec0310b58d5e29 # tag=v4.6.8
with:
branch: gh-pages
folder: target/apidocs