2020-11-16 00:55:38 +01:00
|
|
|
name: Build and deploy Javadoc
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [master]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Set up JDK 11
|
|
|
|
uses: actions/setup-java@v1
|
|
|
|
with:
|
2021-05-18 21:40:49 +02:00
|
|
|
java-version: 11
|
2020-11-16 00:55:38 +01:00
|
|
|
- name: Build javadoc
|
|
|
|
run: gradle javadoc
|
|
|
|
|
|
|
|
- name: Deploy javadoc to its assigned branch
|
|
|
|
uses: s0/git-publish-subdir-action@develop
|
|
|
|
env:
|
|
|
|
REPO: self
|
|
|
|
BRANCH: javadoc
|
|
|
|
FOLDER: docs
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
2021-05-18 14:06:28 +02:00
|
|
|
CLEAR_GLOBS_FILE: ".github/javadoc-publish-clear"
|