Merge pull request #1583 from webauthn4j/release-0.11.0 #688
This file contains 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: Doc | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
name: Build | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
java_version: [17] | |
os: [ubuntu-latest] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Configure git | |
run: | | |
git submodule init | |
git submodule update | |
git config --local user.email "[email protected]" | |
git config --local user.name "ynojima" | |
- name: Set up JDK ${{ matrix.java_version }} | |
uses: actions/setup-java@v1 | |
with: | |
java-version: ${{ matrix.java_version }} | |
- name: Build with Gradle | |
run: | | |
./gradlew javadoc generateReferenceJA generateReferenceEN | |
- name: Commit & Push pages | |
run: | | |
rm -rf docs | |
mv build/docs/asciidoc docs | |
git add docs | |
git commit -m "Update docs" | |
git checkout -b gh-pages | |
git push origin gh-pages -f |