Skip to content

chore(deps): bump actions/setup-java from 4.2.1 to 4.2.2 #977

chore(deps): bump actions/setup-java from 4.2.1 to 4.2.2

chore(deps): bump actions/setup-java from 4.2.1 to 4.2.2 #977

Workflow file for this run

name: Publish mkdocs
on:
pull_request:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 #v4.1.7
with:
fetch-depth: 1
- run: git config user.name 'github-actions[bot]' && git config user.email 'github-actions[bot]@users.noreply.github.com'
- run: sudo apt-get update && sudo apt-get -yq install graphviz git fonts-ipafont fonts-ipaexfont
- run: >
wget -q -O /usr/local/bin/plantuml https://github.com/mikaelhg/puni2/releases/download/1.2022.7/plantuml-1.2022.7-glibc-x86_64
&& chmod 755 /usr/local/bin/plantuml
- uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f #v.5.1.1
with:
python-version: 3.12
- run: pip install mkdocs-techdocs-core # Includes material theme
- run: pip install mkdocs-build-plantuml-plugin
- run: git fetch origin gh-pages # Get latest history
- run: > # required for mkdocs, not for techdocs
yq -i '.plugins |= . +
[{"build_plantuml": {"render":"server", "server":"http://www.plantuml.com/plantuml", "output_format": "svg"}}]'
mkdocs.yml
- name: Dry run generated mkdocs
if: github.event_name == 'pull_request'
run: mkdocs build --config-file mkdocs.yml && ls -al
- name: Archive test build
if: github.event_name == 'pull_request'
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
with:
name: site
path: |
site
retention-days: 1
- name: Publish generated mkdocs
if: github.event_name != 'pull_request'
run: mkdocs gh-deploy --config-file mkdocs.yml