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