Skip to content

Gradle 8.5.

Gradle 8.5. #82

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: macos-latest
steps:
- uses: actions/checkout@v2
- uses: gradle/wrapper-validation-action@v1
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '21'
- uses: gradle/gradle-build-action@v2
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 }}