Skip to content

Commit c079aa0

Browse files
authored
Publish javadocs with GitHub Actions (#968)
1 parent 7262b83 commit c079aa0

File tree

2 files changed

+28
-29
lines changed

2 files changed

+28
-29
lines changed

.azure-scripts/push-javadoc-to-gh-pages.sh

-29
This file was deleted.

.github/workflows/deploy-javadoc.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Deploy Javadoc
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
publish:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
with:
14+
fetch-depth: 0
15+
- uses: actions/setup-java@v1
16+
with:
17+
java-version: 11
18+
java-package: jdk+fx
19+
- name: Generate Javadoc
20+
run: ./gradlew aggregateJavadocs
21+
- name: Deploy 🚀
22+
uses: JamesIves/[email protected]
23+
with:
24+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25+
BRANCH: gh-pages
26+
CLEAN: true
27+
FOLDER: build/docs/javadoc
28+
TARGET_FOLDER: javadoc

0 commit comments

Comments
 (0)