fix(deps): bump org.springframework.boot:spring-boot-dependencies from 3.5.0 to 3.5.3 #1817
Workflow file for this run
This file contains hidden or 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 mkdocs | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2 | |
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@0b93645e9fea7318ecaed2b359559ac225c90a2b #v.5.3.0 | |
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.yaml | |
- name: Dry run generated mkdocs | |
if: github.event_name == 'pull_request' | |
run: mkdocs build --config-file mkdocs.yaml && ls -al | |
- name: Archive test build | |
if: github.event_name == 'pull_request' | |
uses: actions/upload-artifact@v4.5.0 | |
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.yaml |