This repository is currently being migrated. It's locked while the migration is in progress.
Merge pull request #217 from hyperwallet/feature/security-workflows #66
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update Documentation | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
jobs: | |
documentation: | |
runs-on: ubuntu-latest | |
name: Documentation | |
strategy: | |
fail-fast: false | |
matrix: | |
java-version: [ 8 ] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup JDK ${{ matrix.java }} | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: ${{ matrix.java-version }} | |
- name: Generate Java Docs JDK ${{ matrix.java-version }} | |
run: mvn javadoc:javadoc | |
- name: Push | |
uses: s0/git-publish-subdir-action@develop | |
env: | |
REPO: self | |
BRANCH: gh-pages | |
FOLDER: target/site/apidocs | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
MESSAGE: "Documentation updated" |