Skip to content

initial commit

initial commit #3

name: Render PlantUML Diagrams
on:
push:
branches: [ "main" ]
paths:
- "docs/arc42/diagrams/src/**/*.puml"
- ".github/workflows/render-plantuml.yml"
permissions:
contents: write
jobs:
render:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Render PlantUML diagrams (src → out)
uses: sourceforge/plantuml-markdown-action@v1.2.0
with:
input_dir: docs/arc42/diagrams/src
output_dir: docs/arc42/diagrams/out
format: svg
- name: Commit rendered diagrams
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "chore(docs): render PlantUML diagrams"
file_pattern: "docs/arc42/diagrams/out/**/*.svg"