Update javadoc action

This commit is contained in:
samo_lego 2020-08-24 10:11:25 +02:00
parent 8d8feecc73
commit e906187238
1 changed files with 6 additions and 9 deletions

View File

@ -24,12 +24,9 @@ jobs:
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew javadoc
- name: GitHub Pages Javadoc
if: success()
uses: crazy-max/ghaction-github-pages@v1.4.0
with:
build_dir: build/docs/javadoc
target_branch: gh-pages
keep_history: false
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
- name: GitHub Pages Javadoc
if: success()
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: build/docs/javadoc