build: fix shadow JAR publication for modules with Maven publications. #274
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: docs | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v4.7.1 | |
with: | |
python-version: 3.x | |
- run: pip install \ | |
mkdocs-material \ | |
mkdocs-mermaid2-plugin | |
- name: Build static site | |
run: mkdocs build | |
- name: Deploy to GitHub Pages | |
if: ${{ github.ref_name == 'main' }} | |
run: mkdocs gh-deploy --force |