Skip to content

Move to gradle/actions/wrapper-validation. #92

Move to gradle/actions/wrapper-validation.

Move to gradle/actions/wrapper-validation. #92

name: Deploy Website
on:
push:
branches:
- main
paths:
- '**.md'
- 'mkdocs.yml'
- '.github/workflows/**'
env:
CI: true
GRADLE_OPTS: -Dorg.gradle.jvmargs="-Xms4g -Xmx4g -XX:+UseParallelGC -XX:+HeapDumpOnOutOfMemoryError"
TERM: dumb
jobs:
deploy-website:
name: Generate API docs and deploy website
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: gradle/actions/wrapper-validation@v3
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '21'
- uses: gradle/actions/setup-gradle@v3
with:
gradle-home-cache-cleanup: true
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- run: |
pip install mkdocs-material mkdocs-minify-plugin
.buildscript/deploy_website.sh
env:
DEPLOY_TOKEN: ${{ secrets.GH_DEPLOY_TOKEN }}