Build and store javadocs (#213)
* Build and store javadocs * fix typo * fix more typos * Switch to publish to gh-pages * Remove from maven-build * Add to deploy-sonatype
This commit is contained in:
parent
447cb07fc4
commit
a885474ff0
1 changed files with 15 additions and 0 deletions
15
.github/workflows/deploy-sonatype.yml
vendored
15
.github/workflows/deploy-sonatype.yml
vendored
|
@ -39,3 +39,18 @@ jobs:
|
||||||
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
|
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
|
||||||
GPG_KEYNAME: ${{ secrets.GPG_KEYNAME }}
|
GPG_KEYNAME: ${{ secrets.GPG_KEYNAME }}
|
||||||
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
|
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
|
||||||
|
javadoc:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: actions/setup-java@v2.1.0
|
||||||
|
with:
|
||||||
|
distribution: adopt
|
||||||
|
java-version: 16
|
||||||
|
- name: create-javadoc
|
||||||
|
run: mvn -B javadoc:javadoc
|
||||||
|
- name: Publish Javadoc
|
||||||
|
uses: JamesIves/github-pages-deploy-action@4.1.4
|
||||||
|
with:
|
||||||
|
branch: gh-pages # The branch the action should deploy to.
|
||||||
|
folder: target/site/apidocs # The folder the action should deploy.
|
||||||
|
|
Loading…
Reference in a new issue