[documentation] Updated the JDK version in de documentation #26
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: Publish Documentation | |
on: | |
push: | |
branches: | |
- documentation | |
jobs: | |
build: | |
name: Check materials and publish if tagged | |
runs-on: ubuntu-latest | |
steps: | |
- name: Fetch source code | |
uses: actions/checkout@v2 | |
- name: Check links in markdown | |
uses: gaurav-nelson/github-action-markdown-link-check@v1 | |
with: | |
folder-path: 'docs/' | |
- name: Run mdBook | |
uses: peaceiris/actions-mdbook@v1 | |
with: | |
mdbook-version: "latest" | |
- run: | | |
mdbook build | |
- name: Publish book website | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./target/docs | |
keep_files: false |