Skip to content

Bump download and upload actions (#149) #44

Bump download and upload actions (#149)

Bump download and upload actions (#149) #44

Workflow file for this run

name: website
on:
push:
branches:
- master
# This job installs dependencies, builds the website, and pushes it to `gh-pages`
jobs:
deploy-website:
name: Deploy website
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: actions/setup-java@v2
with:
distribution: "adopt"
java-version: "15"
- uses: actions/cache@v2
id: maven-cache
with:
path: ~/.m2/
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Javadocs Build
run: |
mvn -B -V clean site -Dh3.use.docker=false
# Deploy the book's HTML to gh-pages branch
- name: GitHub Pages action
uses: peaceiris/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: target/site/apidocs/