Skip to content

site

site #9

Workflow file for this run

---
name: site
on:
push:
tags:
- '*'
jobs:
site:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 11
- uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-jdk-${{ matrix.java }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-jdk-${{ matrix.java }}-maven-
- run: mvn clean site -Psite
- uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: target/site
target-folder: ${{ github.ref_name }}
clean: false
- uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: target/site
clean: false