chore: bump project deps and update to Java 21 #7
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: Build and deploy documentation | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ "main" ] | |
jobs: | |
build-and-deploy-documentation: | |
runs-on: [ ubuntu-latest ] | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.12 | |
- name: Install MkDocs and dependencies | |
run: pip install -r docs/requirements.txt | |
- name: Set Git user info | |
run: > | |
git config user.name "Documentation Bot" && | |
git config user.email "[email protected]" | |
- name: Checkout the current gh-pages branch | |
run: git fetch origin gh-pages --depth=1 | |
- name: Build and deploy documentation on GitHub pages | |
run: cd docs && mkdocs gh-deploy --force --clean --verbose |