Merge branch 'release/6.4.0' #126
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow builds the documentation site, and deploys it to GitHub Pages. | |
# | |
# This is executed when a commit is pushed to the main branch. | |
name: Deploy site | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
name: GitHub Pages | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up JDK | |
uses: actions/setup-java@v2 | |
with: | |
java-version: 11 | |
distribution: "zulu" | |
- name: Cache local Maven repository | |
uses: actions/cache@v3 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
${{ runner.os }}-maven- | |
- name: Run the verify goal with Maven | |
run: >- | |
mvn --batch-mode verify | |
-pl site -am | |
-Pdocs | |
-DskipTests | |
timeout-minutes: 30 | |
- name: Deploy to GitHub Pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./site/target/site |