fix(deps): bump software.amazon.awssdk:bom from 2.29.20 to 2.29.21 #2938
Workflow file for this run
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 mkdocs | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.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@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 | |
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 |