Skip to content

Commit

Permalink
Update build to publish docs for master
Browse files Browse the repository at this point in the history
  • Loading branch information
kdubb committed Feb 10, 2021
1 parent 259e2ad commit 614718f
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish
name: Build / Test / Publish

on:
push:
Expand Down
26 changes: 26 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Publish

on:
push:
branches: [ master ]

jobs:
build-test-publish:
runs-on: ubuntu-latest

steps:

- uses: actions/checkout@v2

- name: Build Docs
uses: burrunan/gradle-cache-action@v1
with:
job-id: jdk8-build-test
arguments: dokka

- name: Publish Documentation
uses: JamesIves/[email protected]
with:
branch: gh-pages
clean: false
folder: build/javadoc

0 comments on commit 614718f

Please sign in to comment.