forked from vdurmont/emoji-java
-
Notifications
You must be signed in to change notification settings - Fork 2
28 lines (26 loc) · 723 Bytes
/
Copy pathdocs.yml
File metadata and controls
28 lines (26 loc) · 723 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: Generate javadoc github pages
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: 11
distribution: temurin
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Generate documentation directory
uses: gradle/gradle-build-action@v2
with:
arguments: javadoc
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build/docs/javadoc
allow_empty_commit: true