Skip to content

Prepare next development version. #80

Prepare next development version.

Prepare next development version. #80

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@v2
with:
distribution: 'zulu'
java-version: '19'
- 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 }}